mirror of
https://github.com/gwuhaolin/livego.git
synced 2021-06-01 09:10:22 +03:00
Update Dockerfile
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
FROM golang:latest as builder
|
FROM golang:latest as builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
ENV GOPROXY https://goproxy.io
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user