mirror of
https://github.com/gabehf/sonarr-anime-importer.git
synced 2026-03-09 07:28:24 -07:00
fix: expose port
Expose the port of the application to make this container work when host networking is used.
This commit is contained in:
parent
4bfab8b023
commit
420740d626
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue