We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f94b256 commit 3e1bc17Copy full SHA for 3e1bc17
Dockerfile
@@ -3,7 +3,11 @@ FROM golang:1.21-alpine AS builder
3
RUN apk --no-cache add gcc musl-dev
4
5
WORKDIR ${GOPATH}/src/github.com/mcuadros/ofelia
6
-COPY . ${GOPATH}/src/github.com/mcuadros/ofelia
+
7
+COPY go.mod go.sum ${GOPATH}/src/github.com/mcuadros/ofelia/
8
+RUN go mod download
9
10
+COPY . ${GOPATH}/src/github.com/mcuadros/ofelia/
11
12
RUN go build -o /go/bin/ofelia .
13
0 commit comments