mirror of
https://github.com/gabehf/sonarr-seadex-proxy.git
synced 2026-04-22 09:31:51 -07:00
11 lines
336 B
Docker
11 lines
336 B
Docker
FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS build
|
|
ARG ARCH=amd64
|
|
WORKDIR /build
|
|
COPY main.go .
|
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -o seadex-proxy main.go
|
|
|
|
FROM scratch
|
|
COPY --from=build /build/seadex-proxy /seadex-proxy
|
|
COPY --from=build /etc/ssl/certs /etc/ssl/certs
|
|
ENTRYPOINT ["/seadex-proxy"]
|
|
EXPOSE 6778
|