- FROM golang:1.13.5 AS builder
- RUN go get -v git.alfi.li/gamelang/games/jeopardy
- WORKDIR $GOPATH/src/git.alfi.li/gamelang/games/jeopardy
- RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o /jeopardy .
- FROM scratch
- COPY --from=builder /jeopardy /jeopardy
- ADD public /public
- CMD ["/jeopardy"]
|