Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM docker.io/node:22-alpine

# Ensure Python and other build tools are available
# These are needed to install some node modules, especially on linux/arm64
RUN apk add --update python3 make g++ && rm -rf /var/cache/apk/*
RUN apk --no-cache add python3 make g++

WORKDIR /app

Expand All @@ -31,4 +31,4 @@ EXPOSE 4000
ENTRYPOINT [ "npm", "run", "serve" ]
# By default set host to 0.0.0.0 to listen/accept connections from all IP addresses.
# Poll for changes every 5 seconds (if any detected, app will rebuild/restart)
CMD ["--", "--host 0.0.0.0", "--poll 5000"]
CMD ["--", "--host 0.0.0.0", "--poll 5000"]
4 changes: 2 additions & 2 deletions Dockerfile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM docker.io/node:22-alpine AS build

# Ensure Python and other build tools are available
# These are needed to install some node modules, especially on linux/arm64
RUN apk add --update python3 make g++ && rm -rf /var/cache/apk/*
RUN apk --no-cache add python3 make g++

WORKDIR /app
# Copy over package files first, so this layer will only be rebuilt if those files change.
Expand Down Expand Up @@ -46,4 +46,4 @@ EXPOSE 4000
# On startup, run start the DSpace UI in PM2
ENTRYPOINT [ "pm2-runtime", "start", "dspace-ui.json" ]
# By default, pass param that specifies to use JSON format logs.
CMD ["--json"]
CMD ["--json"]
Loading