Files
fizzy/bin/docker-entrypoint
T
2025-11-17 09:11:28 -05:00

9 lines
223 B
Bash
Executable File

#!/bin/bash -e
# If running the rails server then create or migrate existing database
if [ "${1}" == "./bin/thrust" ] && [ "${2}" == "./bin/rails" ] && [ "${3}" == "server" ]; then
./bin/rails db:prepare
fi
exec "${@}"