Explorar el Código

Update Dockerfile

veizour hace 6 años
padre
commit
ccacf27b86
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  1. 10 1
      Dockerfile

+ 10 - 1
Dockerfile

@@ -42,7 +42,16 @@ RUN \
   service apache2 restart && \
   rm -R -f /var/www && \
   ln -s /web /var/www
-  
+
+RUN \
+  mv /etc/apache2/sites-available/000-default.conf /etc/apache2/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 /config/ossn.config.site /web/html/ossn/configurations/ossn.config.site && \
+  ln -s /config/ossn.config.db /web/html/ossn/configurations/ossn.config.db && \
+  ln -s /var/log/apache2 /logs
+
 # Update apache configuration with this one
 RUN \
 echo "<VirtualHost *:80>" > /etc/apache2/000-default.conf && \