Update Dockerfile

This commit is contained in:
刚刚怎么了
2020-04-15 09:18:36 +08:00
committed by GitHub
parent c04c62a665
commit 211b694429

View File

@@ -1,5 +1,6 @@
FROM golang:latest as builder
WORKDIR /app
ENV GOPROXY https://goproxy.io
COPY go.mod go.sum ./
RUN go mod download
COPY . .