1
0
mirror of https://github.com/SourceFellows/gobuch.git synced 2025-04-13 06:24:56 +02:00
2020-08-21 06:26:40 +02:00

13 lines
204 B
Docker

FROM golang:1 as builder
WORKDIR /go/src/app
COPY *.go .
RUN CGO_ENABLED=0 go build .
####################################
FROM alpine
COPY --from=builder /go/src/app/app .
EXPOSE 8080
CMD [ "./app" ]