diff --git a/yarn-project/cli/Dockerfile b/yarn-project/cli/Dockerfile index dc70ce119cad..21dfcc65e976 100644 --- a/yarn-project/cli/Dockerfile +++ b/yarn-project/cli/Dockerfile @@ -3,4 +3,8 @@ ENTRYPOINT ["node", "--no-warnings", "/usr/src/yarn-project/cli/dest/bin/index.j # The version has been updated in yarn-project-prod. # Adding COMMIT_TAG here to rebuild versioned image. -ARG COMMIT_TAG="" \ No newline at end of file +ARG COMMIT_TAG="" + +RUN mkdir /cache && chmod 777 /cache +ENV XDG_CACHE_HOME /cache +VOLUME "/cache"