Entrypoint tweaks, fix cron container

This commit is contained in:
2023-04-27 14:53:37 -04:00
parent bb35b39ea9
commit 3765ceaeb2
3 changed files with 16 additions and 5 deletions
+7 -2
View File
@@ -29,5 +29,10 @@ if test ! -f /loomio/storage/migrations_ran; then
rake db:setup
touch /loomio/storage/migrations_ran
fi
echo "starting loomio!"
/loomio/docker_start.sh
if [ -n "$1" ]; then
echo "Running '$1'"
$1
else
echo "starting loomio!"
/loomio/docker_start.sh
fi