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 Sep 8, 2024
1 parent be6034c commit 8f86933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.16.0-alpine3.20 AS base
FROM node:20.17.0-alpine3.20 AS base
WORKDIR /base
COPY package*.json ./
RUN npm ci && npm cache clean --force
Expand Down Expand Up @@ -42,7 +42,7 @@ xargs > \
chmod 644 /etc/ssl/certs/root.crt && \
npm run build

FROM node:20.16.0-alpine3.20 AS production
FROM node:20.17.0-alpine3.20 AS production
ENV NODE_ENV=production

ARG user=nodeuser
Expand Down

0 comments on commit 8f86933

Please sign in to comment.