From b9a8648ef871dff9e1a517f23c8e68703d8b8789 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 1 Jul 2024 07:37:08 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413525 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413525 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413536 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413536 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 25dc536..6527741 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk add --update nodejs npm COPY ["package.json", "package-lock.json*", "index.js", "./"] RUN npm install --omit=dev -FROM alpine:3.18 as deploy +FROM alpine:3 as deploy RUN apk add --update nodejs npm COPY --from=builder /usr/src/app /app WORKDIR /app