From 7e740d7623030d93c926d14f0aa0346965e18345 Mon Sep 17 00:00:00 2001 From: Erikas Date: Fri, 5 Jul 2024 00:32:54 +0300 Subject: [PATCH] cert is required for HTTPS connection with Discord --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 97a610f..908a00a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,6 @@ ARG version RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GOARM=${TARGETVARIANT#v} go build -a -ldflags "-w -s -X main.version=$version -extldflags '-static'" -o fm ./cmd/flightlesssomething/main.go FROM scratch +COPY --from=builder /etc/ssl/cert.pem /etc/ssl/ COPY --from=builder /app/fm /fm ENTRYPOINT ["/fm"]