retrospring/.docker/entrypoint.sh
2020-05-09 10:16:30 +02:00

8 lines
No EOL
199 B
Bash

#!/bin/bash
set -e
# Remove a potentially pre-existing server.pid for Rails.
rm -f /app/tmp/pids/server.pid
# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"