awesome-compose/ruby_on_rails-postgres/web/entrypoint.sh
Lukas Pol 474cef8986 move files for web/
Signed-off-by: Lukas Pol <lukaspaespol@gmail.com>
2020-04-20 18:16:44 -03:00

8 lines
201 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 "$@"