You've already forked gobuch-trainingfellow
mirror of
https://github.com/SourceFellows/trainingfellow.git
synced 2025-08-06 06:12:16 +02:00
initial import
This commit is contained in:
13
registrierung/Dockerfile
Normal file
13
registrierung/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM golang:1 as builder
|
||||
|
||||
WORKDIR /go/src/registration
|
||||
|
||||
COPY go.* ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -o registration ./cmd
|
||||
|
||||
FROM alpine:latest
|
||||
COPY --from=builder /go/src/registration .
|
||||
CMD ["./registration"]
|
Reference in New Issue
Block a user