super-graph/examples/rails-app/entrypoint.sh
2019-10-05 00:49:39 -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 "$@"