File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -225,8 +225,7 @@ RUN npm run build
225
225
226
226
# Make sure the alpine version is the same as in the build stage
227
227
FROM alpine:3.16
228
- RUN apk add --no-cache libstdc++
229
- RUN apk add --no-cache dumb-init
228
+ RUN apk add --no-cache libstdc++ dumb-init
230
229
RUN addgroup -g 1000 node && adduser -u 1000 -G node -s /bin/sh -D node
231
230
232
231
COPY --from=builder /usr/local/bin/node /usr/local/bin/
@@ -239,7 +238,7 @@ COPY --from=builder /build-stage/dist ./dist
239
238
240
239
RUN chown -R node:node ./
241
240
USER node
242
- # Run with dumb-init to not start node with PID=1, since Node.js was not designed to run as PID 1
241
+ # Run with dumb-init to not start node with PID=1, since Node.js was not designed to run as PID 1
243
242
CMD ["dumb-init" , "node" , "dist/index.js" ]
244
243
```
245
244
You can’t perform that action at this time.
0 commit comments