Files
traefik-ipblock/Dockerfile
jbergner a2d099aef5
All checks were successful
release-tag / release-image (push) Successful in 3m42s
init
2025-11-08 20:08:58 +01:00

8 lines
152 B
Docker

FROM golang:1.25
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /goprg
EXPOSE 8080
CMD ["/goprg"]