diff --git a/Dockerfile b/Dockerfile index 5e4f9bb..dad7764 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Stage - 使用预装 Go 的基础镜像 -FROM 192.168.1.154:31010/docker/golang:1.24-alpine AS builder +FROM golang:1.25-alpine AS builder WORKDIR /app @@ -17,7 +17,7 @@ COPY . . RUN go build -v -o server ./cmd/server # Run Stage -FROM 192.168.1.154:31010/docker/alpine:latest +FROM alpine:latest WORKDIR /app