This commit is contained in:
2022-06-17 17:34:11 +08:00
parent 999fea0454
commit 4879dbd7a0
2 changed files with 1 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.18 as builder
FROM golang:alpine as builder
ENV GO111MODULE=on \
GOPROXY=https://goproxy.cn,direct
@@ -12,7 +12,6 @@ COPY . .
RUN GOOS=linux GOARCH=amd64 go build .
FROM alpine
WORKDIR /app