Entrypoint tweaks, fix cron container
This commit is contained in:
+7
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user