Update Apache configuration to change DocumentRoot to /var/www/html
This commit is contained in:
parent
e130e468b3
commit
e135b634ff
3 changed files with 3 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
|||
#ServerName www.example.com
|
||||
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /app
|
||||
DocumentRoot /var/www/html
|
||||
|
||||
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||
# error, crit, alert, emerg.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<VirtualHost _default_:443>
|
||||
ServerAdmin webmaster@localhost
|
||||
|
||||
DocumentRoot /app
|
||||
DocumentRoot /var/www/html
|
||||
|
||||
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||
# error, crit, alert, emerg.
|
||||
|
|
|
@ -9,7 +9,6 @@ RUN apt-get update && apt-get install -y apache2 openssl ca-certificates \
|
|||
&& a2enmod ssl && a2ensite default-ssl
|
||||
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY default-ssl.conf /etc/apache2/sites-available/default-ssl.conf
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/dist .
|
||||
COPY --from=build /app/dist /var/www/html
|
||||
|
||||
CMD ["apache2ctl", "-D", "FOREGROUND"]
|
Loading…
Add table
Add a link
Reference in a new issue