Skip to content

Commit 91ada92

Browse files
committed
Fix: download dependencies when building production image
1 parent c579826 commit 91ada92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM golang:1.22-alpine3.19 AS Builder
33
WORKDIR /app
44
COPY . .
55

6-
#RUN go get -d ./...
6+
RUN go get -d ./...
77
RUN CGO_ENABLED=0 GOOS=linux GARCH=amd64 go build -o application ./src/main.go
88

99
FROM scratch AS Production

0 commit comments

Comments
 (0)