Update Dockerfile

This commit is contained in:
William Miceli
2019-11-21 18:25:56 -05:00
parent cc6cb5d943
commit b819e9f10f

View File

@@ -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"]