Latest bin files

This commit is contained in:
2026-04-23 11:08:50 +00:00
parent 7d2be7f137
commit bfd075048d
8 changed files with 49 additions and 5 deletions

8
bin/docker-entrypoint Executable file
View File

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