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 19, 2024
1 parent 7a13453 commit dbb0a67
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:16.14.0-alpine3.15 AS builder
FROM node:21.6.1-bookworm-slim AS builder
ADD . /app
RUN apk add bash
RUN apk add --no-cache \
Expand All @@ -19,7 +19,7 @@ RUN npm run build

# RUN npm run build

FROM node:16.14.0-alpine3.15
FROM node:21.6.1-bookworm-slim
RUN apk add bash
RUN apk add --no-cache \
python3 \
Expand Down

0 comments on commit dbb0a67

Please # to comment.