11 lines
184 B
Docker
11 lines
184 B
Docker
|
FROM golang:1.16-alpine
|
||
|
|
||
|
RUN mkdir /go/src/vegvisir
|
||
|
WORKDIR /go/src/vegvisir
|
||
|
|
||
|
COPY vegvisir.json go.mod go.sum ./
|
||
|
COPY pkg/ ./pkg
|
||
|
|
||
|
RUN go mod download
|
||
|
|
||
|
CMD ["go", "run", "pkg/main.go"]
|