fix connection_reset errors when uploading large data

This commit is contained in:
Erikas 2024-08-05 12:19:08 +03:00
parent 446f5a432c
commit ad9201b921

View File

@ -9,7 +9,7 @@ ARG TARGETVARIANT
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
FROM gcr.io/distroless/static
COPY --from=builder /etc/ssl/cert.pem /etc/ssl/
COPY --from=builder /app/fm /fm
ENTRYPOINT ["/fm"]