mapguesser/docker/scripts/entry-point.sh

18 lines
229 B
Bash
Raw Normal View History

2023-09-16 15:06:11 +02:00
#!/bin/bash
set -e
2023-09-16 15:06:11 +02:00
echo "Migrating DB..."
./mapg db:migrate
set +e
2023-09-16 15:06:11 +02:00
/usr/bin/crontab docker/scripts/cron && /usr/sbin/cron &
/usr/sbin/php-fpm7.4 -F &
/usr/sbin/nginx -g 'daemon off;' &
/usr/bin/node multi &
wait -n
exit $?