Skip to content

Commit

Permalink
Clear mod cache in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-one committed Apr 26, 2023
1 parent c0cb2cd commit 583c27a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN go mod download
RUN go build -o /tmp/build cli/main.go

RUN rm -rf *
RUN go clean -modcache

RUN mv /tmp/build /app/build

Expand Down
1 change: 1 addition & 0 deletions Dockerfile_chat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN go mod download
RUN go build -o /tmp/build cli/main.go

RUN rm -rf *
RUN go clean -modcache

RUN mv /tmp/build /app/build

Expand Down

0 comments on commit 583c27a

Please sign in to comment.