From e78b2cafb1017af480d2dc4c9884133137c7fca4 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Wed, 19 Feb 2025 23:10:02 +0800 Subject: [PATCH] upgrade node.js to 22.14.0, alpine base image to 3.21.3 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 244577f1..8e46ca22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apk add git gcc g++ libc-dev RUN ./build.sh backend # Build frontend files -FROM --platform=$BUILDPLATFORM node:22.12.0-alpine3.21 AS fe-builder +FROM --platform=$BUILDPLATFORM node:22.14.0-alpine3.21 AS fe-builder ARG RELEASE_BUILD ENV RELEASE_BUILD=$RELEASE_BUILD WORKDIR /go/src/github.com/mayswind/ezbookkeeping @@ -21,7 +21,7 @@ RUN apk add git RUN ./build.sh frontend # Package docker image -FROM alpine:3.21.0 +FROM alpine:3.21.3 LABEL maintainer="MaysWind " RUN addgroup -S -g 1000 ezbookkeeping && adduser -S -G ezbookkeeping -u 1000 ezbookkeeping RUN apk --no-cache add tzdata