mirror of
https://github.com/gabehf/sonarr-seadex-proxy.git
synced 2026-04-22 09:31:51 -07: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
|