I have to run a shell script to create the DB tables when the container starts but it causes the container to exit otherwise it works fine.
Following is the last instruction in the DockerFile:
I added the exec /bin/bash; command at the end of the script but the application does not run in the browser.
- How can I debug what is happening to fix the issue?
- How can I keep the container running with the script so that the application also runs in the browser?