update code

This commit is contained in:
lychang
2023-12-28 22:16:13 +08:00
parent 4081784073
commit d17b8ca17d

View File

@@ -1,8 +1,9 @@
FROM golang:latest as builder FROM golang:latest as builder
ENV GOPROXY https://goproxy.io,direct ENV GOPROXY https://goproxy.io,direct
ENV CGO_ENABLED 0
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN go build -o ddns RUN go build -o ddns -tags netgo