Added basic setup for PHP; HTML file for testing added

This commit is contained in:
WilliamMiceli
2019-10-19 15:23:31 -04:00
parent 44962f7d5d
commit ad02eace1c
3 changed files with 30 additions and 0 deletions

View File

@@ -9,11 +9,16 @@ RUN apt-get update && apt-get install -y \
php-fpm \
&& rm -rf /var/lib/apt/lists/*
# Setting up PHP
COPY /etc/* /etc/
# Setting up MySQL --Will come back to later, as it's not necessary and not playing very well with automation
#RUN mysql_secure_installation --use-defaults
COPY /entrypoint.sh /
COPY /var/www/* /var/www/
# Expose Insecure Web, MySQL Server
EXPOSE 80 3306
CMD ["/bin/sh", "/entrypoint.sh"]