diff --git a/Dockerfile b/Dockerfile index 51d8edc..e4a4ce5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM golang:1.23.3 +COPY data/* /data WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY *.go ./ -COPY data/* /data RUN CGO_ENABLED=0 GOOS=linux go build -o /go-ddns EXPOSE 8080 CMD ["/go-ddns"] \ No newline at end of file