feature/create-working-docker-images #68
20
docker/scripts/entry-point.sh
Executable file
20
docker/scripts/entry-point.sh
Executable 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 $?
|
Loading…
Reference in New Issue
Block a user