cert is required for HTTPS connection with Discord
This commit is contained in:
parent
90dcb361df
commit
7e740d7623
@ -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
|
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
|
FROM scratch
|
||||||
|
COPY --from=builder /etc/ssl/cert.pem /etc/ssl/
|
||||||
COPY --from=builder /app/fm /fm
|
COPY --from=builder /app/fm /fm
|
||||||
ENTRYPOINT ["/fm"]
|
ENTRYPOINT ["/fm"]
|
||||||
|
Loading…
Reference in New Issue
Block a user