From b819e9f10f8fec2e85e634403570abbbc8a64c71 Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Thu, 21 Nov 2019 18:25:56 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index b5f5408..72ff19b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,9 @@ COPY /entrypoint.sh / # Copying in web files COPY /var/www/ /var/www/ +# Setting up the database tables +RUN mysql -u root friendbook < initialization.sql + # Expose Insecure Web, MySQL Server EXPOSE 80 3306 CMD ["/bin/sh", "/entrypoint.sh"] \ No newline at end of file