Explicitly using desired versions; added nano editor into dockerfile (less logs)

This commit is contained in:
William Miceli
2019-11-24 23:00:53 -05:00
parent e7edd119f9
commit e24d376cb0
2 changed files with 5 additions and 8 deletions

View File

@@ -11,9 +11,5 @@ service php7.2-fpm start
echo "[ INFO ] Setting up friendBook database"
mysql -u root < /scripts/friendBook.sql
# Installing nano to make live changes a little quicker
echo "[ INFO ] Installing nano editor"
apt-get update && apt-get install -y nano
echo "[ INFO ] Starting nginx"
nginx -g "daemon off;" # Foreground