Instead of using npm run dev inside of the docker-container when starting with compose, use a suitable command which is appropriate for production environments. Adjust the Dockerfile accordingly.
Check https://stackoverflow.com/questions/65734632/should-dockerfile-execute-npm-install-and-npm-run-build-or-should-it-only-co
Instead of using
npm run devinside of the docker-container when starting withcompose, use a suitable command which is appropriate for production environments. Adjust theDockerfileaccordingly.Check https://stackoverflow.com/questions/65734632/should-dockerfile-execute-npm-install-and-npm-run-build-or-should-it-only-co