Update Dockerfile
This commit is contained in:
parent
507c2298c2
commit
534772ac9d
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ RUN apk add --no-cache python3 make build-base \
|
|||
FROM node:alpine as runner
|
||||
WORKDIR /usr/src/app
|
||||
COPY --from=builder /usr/src/app/node_modules ./node_modules
|
||||
COPY --from=builder /usr/src/app ./
|
||||
COPY --from=builder --chown node:node /usr/src/app ./
|
||||
USER node
|
||||
CMD ["node", "run", "start"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue