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