From dfb4363a3cae0a60419a336c04184d61153a92fa Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 12 Feb 2023 21:48:04 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314623 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314624 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314624 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314641 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314643 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f3f3380..890d274 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.18.1-alpine3.16 as builder +FROM node:16-alpine3.16 as builder # create app directory in container RUN mkdir -p /app @@ -19,7 +19,7 @@ COPY . /app/ # Build the 'dist' directory RUN yarn build -FROM node:16.18.1-alpine3.16 +FROM node:16-alpine3.16 WORKDIR /app