From 3763b9f285811b02ce80b78afc7cc22388620467 Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Fri, 3 Sep 2021 07:59:44 +0200 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities (#2406) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 73e58a2bd..7845455d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} node:14.16.1-alpine as builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} node:14.17.6-alpine as builder ENV NODE_ENV=development \ VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org @@ -19,7 +19,7 @@ RUN npm -g i pnpm@6.10.3 && \ # FIXME: need to remove devDependencies from the build # RUN pnpm install --prod --ignore-scripts -FROM node:14.16.1-alpine +FROM node:14.17.6-alpine LABEL maintainer="https://github.com/verdaccio/verdaccio" ENV VERDACCIO_APPDIR=/opt/verdaccio \