Explorar el Código

Update Dockerfile

veizour hace 6 años
padre
commit
7c0f26f9e5
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -43,13 +43,15 @@ RUN \
   ln -s /web /var/www
 
 RUN \
-  mv /etc/apache2/sites-available/000-default.conf /etc/apache2/000-default.conf && \
+  #mv /etc/apache2/sites-available/000-default.conf /etc/apache2/000-default.conf && \
+  rm /etc/apache2/sites-available/000-default.conf && \
   rm /etc/apache2/sites-available/* && \
   rm /etc/apache2/apache2.conf && \
   ln -s /config/proxy-config.conf /etc/apache2/sites-available/000-default.conf && \
   ln -s /var/log/apache2 /logs
 
 ADD apache2.conf /etc/apache2/apache2.conf
+ADD proxy-config.conf /etc/apache2/000-default.conf
 ADD ports.conf /etc/apache2/ports.conf