Update Dockerfile
This commit is contained in:
parent
c4e50d5aa2
commit
acebe33d30
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ RUN apk add --no-cache python3 make build-base \
|
||||||
|
|
||||||
FROM node:alpine as runner
|
FROM node:alpine as runner
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY --chown node:node --from=builder /usr/src/app .
|
COPY --chown=node:node --from=builder /usr/src/app .
|
||||||
COPY --from=builder /usr/src/app/node_modules ./node_modules
|
COPY --from=builder /usr/src/app/node_modules ./node_modules
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue