From c3e87368258276446d007484f2e92df155c64815 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 18 Feb 2023 11:57:44 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3314629 - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3314629 - https://snyk.io/vuln/SNYK-ALPINE315-ZLIB-2976173 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-2946727 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-2946729 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b2a8139..f05ea6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # A temporary image that installs dependencies and # builds the production-ready front-end bundles. -FROM node:12-alpine as bundles +FROM node:14.21.2-alpine as bundles WORKDIR /usr/src/smee.io COPY package*.json ./ COPY webpack.config.js ./ @@ -13,7 +13,7 @@ RUN npm ci && npm run build && env NODE_ENV=production npm prune # -------------------------------------------------------------------------------- -FROM node:12-alpine +FROM node:14.21.2-alpine LABEL description="Smee.io" # Let's make our home