~badt/glavar

glavar/Dockerfile -rw-r--r-- 214 bytes
6a19d38eIan P Badtrousers fthinoporo: multicore batching 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM golang:alpine as builder

WORKDIR /src

COPY go.mod go.sum ./

RUN go mod download

COPY . .

RUN go build -o glavar .

FROM alpine

WORKDIR /app

COPY --from=builder /src/glavar .

ENTRYPOINT ["/app/glavar"]