Fix Dockerfile

main
Mari 7 months ago
parent 25a9be8edf
commit d10083d09c
  1. 2
      Dockerfile

@ -11,7 +11,7 @@ RUN npm ci --production
FROM node:16.17.0-bullseye-slim FROM node:16.17.0-bullseye-slim
ENV NODE_ENV production ENV NODE_ENV production
COPY --from=install /usr/bin/dumb-init /usr/bin/dumb-init COPY --from=build /usr/bin/dumb-init /usr/bin/dumb-init
USER node USER node
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY --chown=node:node --from=build /usr/src/app/node_modules /usr/src/app/node_modules COPY --chown=node:node --from=build /usr/src/app/node_modules /usr/src/app/node_modules

Loading…
Cancel
Save