File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM docker.io/node:22-alpine
55
66# Ensure Python and other build tools are available
77# These are needed to install some node modules, especially on linux/arm64
8- RUN apk add --update python3 make g++ && rm -rf /var/cache/apk/*
8+ RUN apk --no-cache add python3 make g++
99
1010WORKDIR /app
1111
@@ -31,4 +31,4 @@ EXPOSE 4000
3131ENTRYPOINT [ "npm" , "run" , "serve" ]
3232# By default set host to 0.0.0.0 to listen/accept connections from all IP addresses.
3333# Poll for changes every 5 seconds (if any detected, app will rebuild/restart)
34- CMD ["--" , "--host 0.0.0.0" , "--poll 5000" ]
34+ CMD ["--" , "--host 0.0.0.0" , "--poll 5000" ]
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ FROM docker.io/node:22-alpine AS build
99
1010# Ensure Python and other build tools are available
1111# These are needed to install some node modules, especially on linux/arm64
12- RUN apk add --update python3 make g++ && rm -rf /var/cache/apk/*
12+ RUN apk --no-cache add python3 make g++
1313
1414WORKDIR /app
1515# Copy over package files first, so this layer will only be rebuilt if those files change.
@@ -46,4 +46,4 @@ EXPOSE 4000
4646# On startup, run start the DSpace UI in PM2
4747ENTRYPOINT [ "pm2-runtime", "start", "dspace-ui.json" ]
4848# By default, pass param that specifies to use JSON format logs.
49- CMD ["--json"]
49+ CMD ["--json"]
You can’t perform that action at this time.
0 commit comments