feature/create-working-docker-images #68

Merged
bence merged 15 commits from feature/create-working-docker-images into develop 2023-09-17 00:10:55 +02:00
Showing only changes of commit 4f6e18f83a - Show all commits

View File

@ -0,0 +1,31 @@
#!/bin/bash
set -e
chmod 777 cache
echo "Installing Composer packages..."
if [ -f .env ]; then
composer install
else
composer create-project
fi
echo "Installing NPM packages..."
(cd multi && npm install)
echo "Installing Yarn packages..."
(cd public/static && yarn install)
echo "Migrating DB..."
./mapg db:migrate
set +e
/usr/sbin/php-fpm7.4 -F &
/usr/sbin/nginx -g 'daemon off;' &
/usr/bin/node --inspect=0.0.0.0:9229 multi &
wait -n
exit $?