budget/bin/docker-entrypoint
Andrew Tomaka c9b79ec9ea
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Pull down new docker-entrypoint
2023-09-10 11:37:37 -04:00

8 lines
172 B
Bash
Executable file

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