Skip to content

Commit

Permalink
Merge pull request #64 from esrrhs/esrrhs-patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
esrrhs authored Aug 14, 2024
2 parents cd5e5ac + ff49e48 commit c0d95e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ FROM golang AS build-env

WORKDIR /app

COPY * ./
COPY cmd/go.* ./
RUN ls -a
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/cmd/pingtunnel .
Expand Down

0 comments on commit c0d95e7

Please sign in to comment.