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