From 064d1e25c3b6dc0cfb21960fc85755441e3e5d2e Mon Sep 17 00:00:00 2001 From: William Miceli Date: Sun, 24 Nov 2019 14:42:17 -0500 Subject: [PATCH] Automatically install nano editor to make things a little easier --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index ce3d439..a1925bd 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,5 +11,9 @@ 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