mapguesser/docker/scripts/entry-point.sh

14 lines
213 B
Bash
Executable File

#!/bin/bash
echo "Migrating DB..."
./mapg db:migrate
/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 $?