Skip to content

Commit

Permalink
fix(secu): use numeric docker user (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Feb 21, 2022
1 parent 4b856a6 commit 6b40106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY . /app/
RUN yarn --frozen-lockfile --prefer-offline && yarn cache clean
RUN yarn build

USER node
USER 1000

ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
Expand Down

0 comments on commit 6b40106

Please sign in to comment.