Files
fritzbox_dyndns/Dockerfile
groot 353a525b0c
All checks were successful
release-tag / release-image (push) Successful in 44s
Dockerfile aktualisiert
2025-01-13 20:50:04 +00:00

9 lines
183 B
Docker

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