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 c0d95e7 commit 5ff18e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ FROM golang AS build-env

WORKDIR /app

COPY cmd/go.* ./
RUN ls -a
COPY go.* ./
RUN go mod download
COPY . ./
RUN ls -a
RUN go mod tidy
RUN go build -v -o pingtunnel

FROM debian
COPY --from=build-env /app/cmd/pingtunnel .
COPY --from=build-env /app/pingtunnel .
COPY GeoLite2-Country.mmdb .
WORKDIR ./

0 comments on commit 5ff18e2

Please sign in to comment.