build: update docker alpine version

Update docker alpine version
This commit is contained in:
Conicaw 2023-09-25 16:09:52 -05:00
parent b56abca979
commit 9752867b84
No known key found for this signature in database
GPG Key ID: 8DE10AC00159C418
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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++