fix: copy ssl certs to minimal docker image

pull/1/head
Arkav 2 weeks ago
parent fabb36bea8
commit b3d8c546ec

@ -6,5 +6,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -o seadex-proxy main.go
FROM scratch FROM scratch
COPY --from=build /build/seadex-proxy /seadex-proxy COPY --from=build /build/seadex-proxy /seadex-proxy
COPY --from=build /etc/ssl/certs /etc/ssl/certs
ENTRYPOINT ["/seadex-proxy"] ENTRYPOINT ["/seadex-proxy"]
EXPOSE 6778 EXPOSE 6778

Loading…
Cancel
Save