Now that we/they use Yarn Berry it is necessary to mount the Yarn configuration (.yarnrc.yml) and its folder (.yarn) into the Docker container otherwise we cannot specify that we want the legacy way of installing packages into the node_modules folder, which is discontinued by default1.
Now that we/they use Yarn Berry it is necessary to mount the Yarn configuration (.yarnrc.yml) and its folder (.yarn) into the Docker container otherwise we cannot specify that we want the legacy way of installing packages into the node_modules folder, which is discontinued by default1.