Update Dockerfile

This commit is contained in:
esrrhs authored and GitHub committed 2024-08-14 15:11:16 +08:00
1 parent a8eadb125c
commit 6e69427e0b
1 file changed
+1 -4
+1 -4
View File
@@ -5,11 +5,8 @@ WORKDIR /app
COPY go.* ./
RUN go mod download
COPY . ./
RUN ls -a
RUN go mod tidy
RUN cd cmd
RUN ls -a
RUN go build -v -o pingtunnel
RUN cd cmd && go build -v -o pingtunnel
FROM debian
COPY --from=build-env /app/pingtunnel .