diff --git a/Dockerfile b/Dockerfile index 74e0f4e1..a5a7cdd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ RUN apk add --no-cache \ # Download go dependencies COPY go.mod go.sum ./ -RUN --mount=type=cache,target=/root/.cache/go-build \ - --mount=type=cache,target=/root/go/pkg/mod \ +RUN --mount=type=cache,target=/nonroot/.cache/go-build \ + --mount=type=cache,target=/nonroot/go/pkg/mod \ go mod download # Cosmwasm - Download correct libwasmvm version