Update Dockerfile
This commit is contained in:
1 parent
cc6cb5d943
commit
b819e9f10f
1 file changed
+3
@@ -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"]
|
||||
Reference in new issue
Block a user