In the startup script we use sleep to make sure the current service starts before running the next service. But we should add a health check so that we correctly starts the next service.
We can optimise the dockerfiles for speed as, one my suggestion is moves the line "RUN npm ci" closer to the package.json copy, so we can cache it before edits in the code. Moreover make sure that we copy over required files only for each container.
In the startup script we use sleep to make sure the current service starts before running the next service. But we should add a health check so that we correctly starts the next service.
We can optimise the dockerfiles for speed as, one my suggestion is moves the line "RUN npm ci" closer to the package.json copy, so we can cache it before edits in the code. Moreover make sure that we copy over required files only for each container.