Browse Source

Include go.sum

master
Lauri Võsandi 4 months ago
parent
commit
fe102e072d
  1. 2
      Dockerfile

2
Dockerfile

@ -1,7 +1,7 @@
FROM golang:1.16-alpine
RUN apk add libcap git
WORKDIR $GOPATH/src/git.k-space.ee/k-space/goredirect
COPY go.mod .
COPY go.mod go.sum .
RUN go mod download
COPY main.go .
RUN go build -o goredirect main.go

Loading…
Cancel
Save