Merge pull request #65 from esrrhs/esrrhs-patch-1

Update Dockerfile
This commit is contained in:
esrrhs authored and GitHub committed 2024-08-14 15:11:30 +08:00
commit d303252132
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 .