Skip to content

Commit

Permalink
adjust dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima committed Nov 3, 2023
1 parent beec6e9 commit 9e562c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM golang:latest

WORKDIR /app

# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
COPY . .
RUN go mod tidy && go build -v -o app
Expand Down

0 comments on commit 9e562c6

Please sign in to comment.