Open keskiju opened 5 years ago
Changing the mount order might fix this:
volumes:
- "./server:/server"
- "/server/node_modules"
-->
volumes:
- "/server/node_modules"
- "./server:/server"
He problem occurs only if you have run taito start
before taito install
. Added instructions in taito --trouble
.
The
"/DIR/node_modules"
volumes of docker-compose.yaml do not work on Linux correctly if thenode_modules
directory does not exist on host when starting up docker-compose.Somehow make sure that
./DIR/node_modules
exists on host when starting a container. Perhaps check if node_modules is empty or does not exist on start (CMD command of Dockerfile), and print some error message.