Files
libr-2/entrypoint.sh
2018-06-04 00:46:08 +10:00

12 lines
111 B
Bash
Executable File

#!/bin/bash
set -eu
if ! nc -z postgres 5432; then
sleep 3;
fi
# rake db:create
rake db:migrate
exec "$@"