From 4fff5bd74149f2b83b982000e647976278fc43b0 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Thu, 4 Aug 2022 20:12:28 +0800 Subject: [PATCH] fix: v2ray build error --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 592123f..ceaee92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -280,7 +280,7 @@ WORKDIR ./Xray-core-${XRAY_VERSION}/ RUN go mod download -x RUN env CGO_ENABLED=0 go build -v -o xray -trimpath -ldflags "-s -w" ./main && \ mv ./xray /tmp/ -WORKDIR ./v2ray-core-${V2FLY_VERSION}/ +WORKDIR ../v2ray-core-${V2FLY_VERSION}/ RUN go mod download -x RUN env CGO_ENABLED=0 go build -v -o v2ray -trimpath -ldflags "-s -w" ./main && \ mv ./v2ray /tmp/