Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
esrrhs authored Aug 14, 2024
1 parent 9528be7 commit 8359f00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./

0 comments on commit 8359f00

Please sign in to comment.