super-graph/rails-app/entrypoint.sh

9 lines
202 B
Bash
Raw Normal View History

2019-03-24 14:57:29 +01:00
#!/bin/bash
set -e
# Remove a potentially pre-existing server.pid for Rails.
rm -f /myapp/tmp/pids/server.pid
# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"