You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Webgrind uses /var/www/html to host the project in docker. This is fine until someone wants to click this
button. If the dockerfile for webgrind was updated to make webgrind operate in an alternate host directory then I wouldn't have to update anything in my project to view the source.
I suggest /var/www/webgrind as the host directory.
This would require a couple of changes in the dockerfile according to the php docker docs
ENV APACHE_DOCUMENT_ROOT /path/to/new/root
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
The text was updated successfully, but these errors were encountered:
Currently Webgrind uses
/var/www/html
to host the project in docker. This is fine until someone wants to click thisbutton. If the dockerfile for webgrind was updated to make webgrind operate in an alternate host directory then I wouldn't have to update anything in my project to view the source.
I suggest
/var/www/webgrind
as the host directory.This would require a couple of changes in the dockerfile according to the php docker docs
The text was updated successfully, but these errors were encountered: