From 7cfdb84c2206dd13febb2d88e94e71e042e15d30 Mon Sep 17 00:00:00 2001 From: naudachu Date: Tue, 6 Jun 2023 18:28:57 +0500 Subject: [PATCH] - Dockerfile fixed; --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index a086aa0..3842796 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,9 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go install -ldflags '-extldflags "-sta FROM scratch # the test program: COPY --from=app-builder /go/bin/main /ticket-creator +COPY --from=app-builder /go/src/ticket-creator/cmd/.env / # the tls certificates: # NB: this pulls directly from the upstream image, which already has ca-certificates: COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ + ENTRYPOINT ["/ticket-creator"] \ No newline at end of file