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 committed Feb 15, 2024
1 parent bf3c2e0 commit df50b50
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 @@ -6,7 +6,7 @@ RUN npm install --legacy-peer-deps && npm cache clean --force
COPY . ./
RUN npm run build

FROM nginx:latest AS runtime
FROM nginx:1.25.3-bookworm-perl AS runtime
WORKDIR /usr/share/nginx/html
RUN rm -rf ./*
COPY --from=build /app/dist .
Expand Down

0 comments on commit df50b50

Please sign in to comment.