add entry point for debug docker

This commit is contained in:
Bence Pőcze 2023-09-16 19:36:42 +02:00
parent a3d659f850
commit ed6758dec4
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -0,0 +1,20 @@
#!/bin/bash
chmod 777 cache
echo "Installing Composer packages..."
composer create-project --dev
echo "Installing NPM packages..."
(cd multi && npm install)
echo "Installing Yarn packages..."
(cd public/static && yarn install)
/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 $?