On good faith we hope
continuous-integration/drone/push Build is passing Details

This commit is contained in:
DutchEllie 2022-05-11 12:24:31 +02:00
parent 545193a90e
commit 824aa4f81a
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
1 changed files with 2 additions and 1 deletions

View File

@ -3,11 +3,12 @@ FROM golang:1.17 AS builder
WORKDIR /go/src/quenten.nl/pepeservice
COPY . ./
WORKDIR /go/src/quenten.nl/pepeservice/pepeservice
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app ./
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /app
COPY --from=builder /go/src/quenten.nl/pepeservice/app .
COPY --from=builder /go/src/quenten.nl/pepeservice/pepeservice/app .
CMD ["./app"]