mirror of
https://github.com/gabehf/sonarr-seadex-proxy.git
synced 2026-03-07 21:48:15 -08:00
10 lines
262 B
Docker
10 lines
262 B
Docker
FROM 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
|
|
ENTRYPOINT ["/seadex-proxy"]
|
|
EXPOSE 6778
|