Skip to content

Commit

Permalink
re use packages for faster build
Browse files Browse the repository at this point in the history
  • Loading branch information
tivvit committed Oct 10, 2023
1 parent 0070dc2 commit 3415ad3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY go.mod go.sum
COPY go.mod go.mod
COPY go.sum go.sum
RUN go mod download && go mod verify

COPY . .
Expand Down

0 comments on commit 3415ad3

Please sign in to comment.