Dockerfile hinzugefügt
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
FROM golang:1.23.3
|
||||||
|
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"]
|
Reference in New Issue
Block a user