Skip to content

Commit 753a980

Browse files
bootjpCopilot
andauthored
Update Dockerfile.redis-proxy
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1caf3b3 commit 753a980

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile.redis-proxy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM golang:latest AS build
22

33
WORKDIR $GOPATH/src/app
4+
COPY go.mod go.sum ./
5+
RUN go mod download
46
COPY . .
57

68
RUN CGO_ENABLED=0 go build -o /redis-proxy ./cmd/redis-proxy/

0 commit comments

Comments
 (0)