Merge pull request #6 from icco/patch-2

fix: expose port
This commit is contained in:
Gabe Farrell 2025-04-26 19:10:24 -04:00 committed by GitHub
commit 925dc8a40b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]