Attempting to build and start security-api results in the web server constantly restarting itself because packages (mariadb, nodemon) are missing. These are defined in the package.json and afaik should have been installed as part of docker compose up. The current solution is to add npm install into the init.sh script. Please investigate (and fix as part of your investigation):
- If it's expected that the packages are missing (preliminary research suggests something around node_modules ownership, deleted node_modules, etc etc but not confirmed)
- What the best practice for getting these packages installed on web on startup are
AC:
- running docker compose up results in the web and db servers successfully starting up