Skip to content

Commit

Permalink
fix: production/Dockerfile.nginx to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Apr 24, 2024
1 parent 858e1a7 commit c9b4098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion production/Dockerfile.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY --chown=node:node /. /home/node/app/
COPY --from=build --chown=node:node /home/node/node_modules/ /home/node/app/node_modules/
RUN npm run build

FROM nginx:1.25.3-alpine
FROM nginx:1.26-alpine

RUN mkdir -p /app/dist
COPY --from=bundler --chown=www-data:www-data /home/node/app/public/ /app/dist

0 comments on commit c9b4098

Please sign in to comment.