diff --git a/docker/scripts/entry-point.sh b/docker/scripts/entry-point.sh index af13cb0..6e473cc 100755 --- a/docker/scripts/entry-point.sh +++ b/docker/scripts/entry-point.sh @@ -5,9 +5,12 @@ set -e echo "Migrating DB..." ./mapg db:migrate +echo "Installing crontab..." +/usr/bin/crontab docker/scripts/cron + set +e -/usr/bin/crontab docker/scripts/cron && /usr/sbin/cron & +/usr/sbin/cron & /usr/sbin/php-fpm7.4 -F & /usr/sbin/nginx -g 'daemon off;' & /usr/bin/node multi &