diff --git a/yarn-project/cli/aztec-cli b/yarn-project/cli/aztec-cli index 0fcb6bba1be..60cb585e6ea 100755 --- a/yarn-project/cli/aztec-cli +++ b/yarn-project/cli/aztec-cli @@ -149,6 +149,8 @@ if [[ ! -z "${PRIVATE_KEY:-}" ]]; then DOCKER_ENV="$DOCKER_ENV -e PRIVATE_KEY=$PRIVATE_KEY" fi +DOCKER_VOLUME="$DOCKER_VOLUME -v cache:/cache" + DOCKER_CMD="$DOCKER_PATH run \ --rm \ --user $(id -u):$(id -g) \