sonarr-anime-importer/Dockerfile
Nat Welch 420740d626
fix: expose port
Expose the port of the application to make this container work when host networking is used.
2025-04-26 18:55:06 -04:00

12 lines
241 B
Docker

## syntax=docker/dockerfile:1
FROM golang:1.23
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /sonarr-anime-importer
ARG PORT=3333
EXPOSE ${PORT}
CMD ["/sonarr-anime-importer"]