Skip to content

Commit

Permalink
Update Apache2 document root to /var/html/htdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcheng1982 committed Sep 29, 2016
1 parent aa3b3d7 commit c9a9b8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ COPY ./bin/install-sampledata-1.9 /usr/local/bin/install-sampledata
RUN chmod +x /usr/local/bin/install-sampledata

VOLUME /var/www/htdocs
RUN sed -i 's/DocumentRoot \/var\/www\/html/DocumentRoot \/var\/www\/htdocs/' /etc/apache2/sites-available/000-default.conf
RUN sed -i 's/DocumentRoot \/var\/www\/html/DocumentRoot \/var\/www\/htdocs/' /etc/apache2/sites-available/default-ssl.conf

0 comments on commit c9a9b8b

Please sign in to comment.