mirror of https://github.com/docker/docs.git
In the section `Use Compose to develop locally`, a docker-compose file is shown which mounts the app directory into the `notes` container to be able to change the code without rebuilding the image. Unfortunately, the node_modules directory which was created during the build will be overridden as the whole working directory /app gets mounted. Therefore, this directory needs to be secured by adding it to the volumes. |
||
|---|---|---|
| .. | ||
| images | ||
| build-images.md | ||
| configure-ci-cd.md | ||
| deploy.md | ||
| develop.md | ||
| index.md | ||
| nav.html | ||
| run-containers.md | ||
| run-tests.md | ||