Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot authored and minottic committed Mar 20, 2023
1 parent 7a81de2 commit c6f1354
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 @@ -24,7 +24,7 @@ COPY --chown=node:node . /home/node/app/
# Build app
RUN npx ng build --configuration=${env}

FROM nginx:1.22.0-alpine
FROM nginx:1.23.3-alpine

RUN sed -i -e 's/^root::/root:!:/' /etc/shadow
RUN rm -rf /usr/share/nginx/html/*
Expand Down

0 comments on commit c6f1354

Please sign in to comment.