Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG USE_CHINA_MIRROR=false


# ---- Stage 1: Build frontend ----
FROM node:24-alpine AS web-builder
FROM node:26-alpine AS web-builder
ARG USE_CHINA_MIRROR

# 国内镜像:npm 使用淘宝源
Expand All @@ -26,7 +26,7 @@ RUN npm run build


# ---- Stage 2: Build backend ----
FROM golang:1.25-alpine AS server-builder
FROM golang:1.26-alpine AS server-builder
ARG USE_CHINA_MIRROR
ARG VERSION=dev

Expand All @@ -43,7 +43,7 @@ RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X main.version=${VERSION}"


# ---- Stage 3: Production image ----
FROM alpine:3.21
FROM alpine:3.24
ARG USE_CHINA_MIRROR

# 国内镜像:Alpine apk 使用阿里云源
Expand Down
Loading