ruby-on-rails-server.docker-entrypoint.sh Maven / Gradle / Ivy
#!/bin/sh
set -e
if [ "$1" = 'bin/rails' ] && [ "$2" = 's' ]; then
rm -f /myapp/tmp/pids/server.pid
bin/rails db:migrate
fi
exec "$@"
© 2015 - 2024 Weber Informatics LLC | Privacy Policy