diff --git a/Dockerfile b/Dockerfile index ab344a2..65f3faa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,10 +30,13 @@ RUN rm /etc/apache2/sites-enabled/* RUN rm /var/www/* #create volume directory -RUN mkdir -p /var/www/website/var +ADD success.html /var/www/success.html RUN chown -R www-data:www-data /var/www ADD vhost.conf /etc/apache2/sites-enabled/000-default +# add a success html page for testing it works + + # set root password # DO NOT UNCOMMENT THIS IS PRODUCTION ##RUN echo "root:root" | chpasswd diff --git a/success.html b/success.html new file mode 100644 index 0000000..a37b586 --- /dev/null +++ b/success.html @@ -0,0 +1 @@ +

Success!!