Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Neng Wan committed May 8, 2023
1 parent 2e501a8 commit 0a4401f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM golang:1.20 AS build
WORKDIR /ratelimit

ENV GOPROXY=https://proxy.golang.org
RUN go env -w GOPROXY=https://goproxy.cn,direct

COPY go.mod go.sum /ratelimit/
RUN go mod download

Expand Down

0 comments on commit 0a4401f

Please sign in to comment.