From 8359f000c8fd2b09a289bb7561568d240dafda53 Mon Sep 17 00:00:00 2001 From: esrrhs Date: Wed, 14 Aug 2024 14:38:14 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index edbba72..d3a6169 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,11 @@ COPY go.* ./ RUN go mod download COPY . ./ RUN go mod tidy +RUN cd cmd RUN go build -v -o pingtunnel +RUN cd .. FROM debian -COPY --from=build-env /app/pingtunnel . +COPY --from=build-env /app/cmd/pingtunnel . COPY GeoLite2-Country.mmdb . WORKDIR ./