Surbao commited on
Commit
a2a532f
·
verified ·
1 Parent(s): 2699ee6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -20,9 +20,10 @@ WORKDIR /var/www/html
20
  RUN chown -R www-data:www-data /var/www/html \
21
  && chmod -R 755 /var/www/html
22
 
23
- RUN echo "Listen 7860" >> /etc/apache2/ports.conf
24
 
25
- RUN sed -i 's/<VirtualHost \*:80>/<VirtualHost \*:7860>/' /etc/apache2/sites-available/000-default.conf
 
26
 
27
  EXPOSE 7860
28
 
 
20
  RUN chown -R www-data:www-data /var/www/html \
21
  && chmod -R 755 /var/www/html
22
 
23
+ RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
24
 
25
+ RUN sed -i 's/Listen 80/Listen 7860/' /etc/apache2/ports.conf \
26
+ && sed -i 's/<VirtualHost \*:80>/<VirtualHost \*:7860>/' /etc/apache2/sites-available/000-default.conf
27
 
28
  EXPOSE 7860
29