From 9752867b84150f7ec8594b5e607623f5ae41b687 Mon Sep 17 00:00:00 2001 From: Conicaw Date: Mon, 25 Sep 2023 16:09:52 -0500 Subject: [PATCH] build: update docker alpine version Update docker alpine version --- Dockerfile | 6 +++--- Dockerfile.web | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0bccc3b2..1863a161 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build environment -FROM --platform=$BUILDPLATFORM node:16.15.0-alpine3.15 as build-stage +FROM --platform=$BUILDPLATFORM node:16.20.2-alpine3.18 as build-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache python3 make g++ @@ -13,7 +13,7 @@ ARG VERSION RUN npm run build # dependency environment -FROM node:16.15.0-alpine3.15 as dependency-stage +FROM node:16.20.2-alpine3.18 as dependency-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache python3 make g++ @@ -23,7 +23,7 @@ RUN SKIP_BUILD=true npm ci RUN npm prune --production # production environment -FROM node:16.15.0-alpine3.15 as production-stage +FROM node:16.20.2-alpine3.18 as production-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache tini diff --git a/Dockerfile.web b/Dockerfile.web index 0ef40f49..91007f3c 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,5 +1,5 @@ # build environment -FROM --platform=$BUILDPLATFORM node:16.15.0-alpine3.15 as build-stage +FROM --platform=$BUILDPLATFORM node:16.20.2-alpine3.18 as build-stage RUN mkdir /app && chown -R node:node /app WORKDIR /app RUN apk add --no-cache python3 make g++