diff --git a/docker/scripts/entry-point-dev.sh b/docker/scripts/entry-point-dev.sh new file mode 100755 index 0000000..149d2d9 --- /dev/null +++ b/docker/scripts/entry-point-dev.sh @@ -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 $?