mirror of
https://github.com/gabehf/sonarr-anime-importer.git
synced 2026-03-08 23:18:14 -07:00
- 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
12 lines
241 B
Docker
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"]
|