Update 'Dockerfile'

This commit is contained in:
pfc
2023-05-09 17:59:38 +00:00
parent e9d22b62e7
commit f817257699
+1 -1
View File
@@ -8,7 +8,7 @@ COPY . .
ARG TARGETOS TARGETARCH
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go mod download && \
RUN GOPROXY=https://goproxy.cn go get github.com/klauspost/compress && \
CGO=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags "-s -w"
EXPOSE 3000