fix: expose port

Expose the port of the application to make this container work when host networking is used.
pull/6/head
Nat Welch 8 months ago committed by GitHub
parent 4bfab8b023
commit 420740d626
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,4 +5,8 @@ COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /sonarr-anime-importer
CMD ["/sonarr-anime-importer"]
ARG PORT=3333
EXPOSE ${PORT}
CMD ["/sonarr-anime-importer"]

Loading…
Cancel
Save