Created
September 23, 2021 00:22
-
-
Save rvlaraujo/fe621791048011b4331e61fd36f9b0e3 to your computer and use it in GitHub Desktop.
The entrypoint.sh for https://stackoverflow.com/questions/69276861/running-rspec-specs-with-docker-and-docker-compose?noredirect=1#comment122445783_69276861
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -e | |
| if [ -f tmp/pids/server.pid ]; then | |
| rm tmp/pids/server.pid | |
| fi | |
| # Then exec the container's main process (what's set as CMD in the Dockerfile). | |
| exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment