add entry point for release docker

This commit is contained in:
bence committed 2023-09-17 00:03:20 +02:00
1 parent f5950658df
commit 57a24f8c90
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
set -e
echo "Migrating DB..."
./mapg db:migrate
echo "Installing crontab..."
/usr/bin/crontab docker/scripts/cron
set +e
/usr/sbin/cron -f &
/usr/sbin/php-fpm7.4 -F &
/usr/sbin/nginx -g 'daemon off;' &
/usr/bin/node multi &
wait -n
exit $?