Files
fritzbox_dyndns/Dockerfile
jbergner 5b7b877474
All checks were successful
release-tag / release-image (push) Successful in 49s
Neues Build-File nicht nano und net-tools
2025-01-17 22:33:31 +01:00

11 lines
247 B
Docker

FROM golang:1.23.3
RUN mkdir /data
RUN apt update && apt install net-tools nano -y
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"]