From e40e23f091a5dbb257632fc0cac48fa0c6a0762f Mon Sep 17 00:00:00 2001 From: Echo <1711788888@qq.com> Date: Wed, 3 Jul 2024 17:15:53 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BF=AE=E6=94=B9Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ee7fda3..29a0286 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:alpine as builder +FROM dockerproxy.com/library/golang:alpine as builder WORKDIR /go/src/miniapp COPY . . @@ -10,7 +10,7 @@ RUN go env -w GO111MODULE=on \ && go mod tidy \ && go build -o server . -FROM alpine:latest +FROM dockerproxy.com/library/alpine:latest WORKDIR /go/src/miniapp COPY --from=0 /go/src/miniapp/server ./