From b132fa929551b539114d3ff778f90cc54b5ea746 Mon Sep 17 00:00:00 2001 From: Echo <1711788888@qq.com> Date: Sun, 31 Mar 2024 04:15:39 +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 42ec7e2..c02425c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.cn-hangzhou.aliyuncs.com/hyxc/golang:alpine-1.18 as builder +FROM 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 registry.cn-hangzhou.aliyuncs.com/hyxc/alpine:3.13.6 as runner +FROM code.hyxc1.com/open/alpine:3.16.0 as runner WORKDIR /go/src/miniapp COPY --from=0 /go/src/miniapp/server ./