super-graph/example/entrypoint.sh
Vikram Rangnekar b9d38a5e9d First commit
2019-03-24 09:57:29 -04:00

9 lines
202 B
Bash

#!/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 "$@"