mirror of
https://github.com/SourceFellows/gobuch.git
synced 2024-12-29 11:51:44 +00:00
12 lines
192 B
Docker
12 lines
192 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 .
|
||
|
CMD [ "./app" ]
|