Update Dockerfile

This commit is contained in:
docker-images 2025-08-23 00:39:40 +02:00
commit 534772ac9d

View file

@ -9,6 +9,6 @@ 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 --from=builder /usr/src/app/node_modules ./node_modules 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 USER node
CMD ["node", "run", "start"] CMD ["node", "run", "start"]