diff --git a/Dockerfile b/Dockerfile index 9cf12a8..299f881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN cd web && npm i && npm run build FROM golang as server WORKDIR /src COPY --from=web /src . -RUN go get . && go generate ./... && go build . -trimpath -ldflags "-w -s -X main.Version=v1.0.0" +RUN go get . && go generate ./... && go build -trimpath -ldflags '-w -s -X main.Version=v1.0.0' . FROM scratch COPY --from=server /src/reCoreD-UI . diff --git a/flake.nix b/flake.nix index e046a55..0590fb1 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,6 @@ inherit version; src = self; - GOPROXY = "https://goproxy.cn,direct"; ldflags = [ "-s"