Update Dockerfile

This commit is contained in:
esrrhs authored and GitHub committed 2024-08-14 14:38:14 +08:00
1 parent 9528be7602
commit 8359f000c8
1 file changed
+3 -1
+3 -1
View File
@@ -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 ./