sonarr-anime-importer/Dockerfile
Nat Welch 866cd4e580
Github Repo Updates
- Upgrades Docker Go to 1.24
 - Fixes lint errors
 - Adds github docker build and push workflow
 - Adds github golang lint workflow
 - Exposes port in Dockerfile
 - Adds gitignore file
2025-04-26 23:17:33 +00:00

12 lines
241 B
Docker

## syntax=docker/dockerfile:1
FROM golang:1.24
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"]