Moved starting services to inside dockerfile; side-benefit of faster startups
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "[ INFO ] Recursively setting www-data:www-data permissions on root web directory"
|
||||
chown -R www-data:www-data /var/www
|
||||
|
||||
echo "[ INFO ] Starting MySQL Server"
|
||||
service mysql start
|
||||
|
||||
echo "[ INFO ] Starting PHP 7.2 Service"
|
||||
service php7.2-fpm start
|
||||
|
||||
echo "[ INFO ] Starting nginx"
|
||||
nginx -g "daemon off;" # Foreground
|
||||
|
||||
Reference in New Issue
Block a user