From fb86162009b5bd00cc3cd87a16e535626c70d1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sat, 16 Sep 2023 22:04:20 +0200 Subject: [PATCH] fixup! add entry point for release docker --- docker/scripts/entry-point.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 &