#!/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 $?