formation преди 5 години
родител
ревизия
56a48759de
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 2
      build/docker/apache/Dockerfile
  2. 2 2
      build/docker/apache/apache.conf

+ 2 - 2
build/docker/apache/Dockerfile

@@ -16,8 +16,8 @@ RUN a2dissite foodgame.fr foodgame.fr-ssl
 RUN a2ensite foodgame.fr
 RUN a2ensite foodgame.fr
 RUN a2enmod ssl
 RUN a2enmod ssl
 
 
-COPY $PWD /var/www/index.html
-WORKDIR /var/www/index.html
+#COPY $PWD /var/www/index.html
+WORKDIR /src
 
 
 
 
 EXPOSE 80
 EXPOSE 80

+ 2 - 2
build/docker/apache/apache.conf

@@ -1,6 +1,6 @@
 <VirtualHost *:80>
 <VirtualHost *:80>
-   DocumentRoot /app
-   <Directory /app/>
+   DocumentRoot /src
+   <Directory /src/>
         Options +Indexes +FollowSymlinks
         Options +Indexes +FollowSymlinks
         AllowOverride All
         AllowOverride All
    </Directory>
    </Directory>