Update Dockerfile

This commit is contained in:
esrrhs authored and GitHub committed 2024-08-14 14:24:02 +08:00
1 parent bd1056045a
commit 3c6d37856e
1 file changed
+2 -2
+2 -2
View File
@@ -5,10 +5,10 @@ WORKDIR /app
COPY go.* ./ COPY go.* ./
RUN go mod download RUN go mod download
COPY . ./ COPY . ./
RUN go build -v -o pingtunnel RUN go mod tidy
RUN go build -v -o spp
FROM debian FROM debian
COPY --from=build-env /app/pingtunnel . COPY --from=build-env /app/pingtunnel .
COPY GeoLite2-Country.mmdb . COPY GeoLite2-Country.mmdb .
RUN chmod +x pingtunnel
WORKDIR ./ WORKDIR ./