Skip to content

Commit

Permalink
Fix adduser flag
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Oct 9, 2023
1 parent 9aa11e4 commit 94b310e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COPY --from=build /app/dist /app/dist
EXPOSE 3000

RUN addgroup -S app && \
adduser -S -D -H -s /bin/false -G app app && \
adduser -S -D -H --shell /bin/false -G app app && \
chown -R app:app /app
USER app
CMD [ "node", "/app/dist/server.js" ]

0 comments on commit 94b310e

Please sign in to comment.