Skip to content

Commit

Permalink
Merge pull request #1870 from lavanet/fix-docker-build
Browse files Browse the repository at this point in the history
fix: Fix docker build step
  • Loading branch information
omerlavanet authored Dec 25, 2024
2 parents b1453a2 + ad9a858 commit 9895046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/lavad/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ WORKDIR /lava
ENV GOCACHE=/root/.cache/go-build
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/root/go/pkg/mod \
--mount=type=bind,source=go.sum,target=go.sum \
--mount=type=bind,source=go.mod,target=go.mod \
--mount=type=bind,source=./go.sum,target=/lava/go.sum \
--mount=type=bind,source=./go.mod,target=/lava/go.mod \
go mod download -x

COPY . .
Expand Down
4 changes: 2 additions & 2 deletions cmd/lavap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ WORKDIR /lava
ENV GOCACHE=/root/.cache/go-build
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/root/go/pkg/mod \
--mount=type=bind,source=go.sum,target=go.sum \
--mount=type=bind,source=go.mod,target=go.mod \
--mount=type=bind,source=./go.sum,target=/lava/go.sum \
--mount=type=bind,source=./go.mod,target=/lava/go.mod \
go mod download -x

COPY . .
Expand Down

0 comments on commit 9895046

Please sign in to comment.