mirror of
https://github.com/SourceFellows/gobuch.git
synced 2025-08-03 05:02:16 +02:00
initial import
This commit is contained in:
14
cloud-provider/go-cloud/Dockerfile
Normal file
14
cloud-provider/go-cloud/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM golang:1 as builder
|
||||
|
||||
WORKDIR /go/src/app
|
||||
COPY go.* ./
|
||||
RUN go mod download
|
||||
COPY *.go ./
|
||||
RUN CGO_ENABLED=0 go build .
|
||||
|
||||
####################################
|
||||
|
||||
FROM alpine
|
||||
COPY --from=builder /go/src/app/gcloud .
|
||||
EXPOSE 8080
|
||||
CMD [ "./gcloud" ]
|
Reference in New Issue
Block a user