The fix allows users to run the frontend container without the need to first run npm install:
hot-reloading is still enabled in the container
the local node_modules will be used by the IDE, but the container will have its own copy in a docker volume (frontend-npm-cache)
Please note: the first start might take a while since the container will need to run npm install, but as long as the volume is not removed (e.g.: use ./manage stop rather than ./manage rm) following runs should be much faster.
The fix allows users to run the frontend container without the need to first run
npm install
:node_modules
will be used by the IDE, but the container will have its own copy in a docker volume (frontend-npm-cache
)Please note: the first start might take a while since the container will need to run
npm install
, but as long as the volume is not removed (e.g.: use./manage stop
rather than./manage rm
) following runs should be much faster.