add entry point for debug docker
This commit is contained in:
parent
a3d659f850
commit
ed6758dec4
20
docker/scripts/entry-point-dev.sh
Executable file
20
docker/scripts/entry-point-dev.sh
Executable 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 $?
|
Loading…
Reference in New Issue
Block a user