formation 5 anni fa
parent
commit
6dbc28cc71
2 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 1 2
      build/docker/apache/Dockerfile
  2. 1 2
      build/docker/apache/apache.conf

+ 1 - 2
build/docker/apache/Dockerfile

@@ -15,7 +15,6 @@ COPY $PWD/build/docker/apache/apache.conf /etc/apache2/sites-available/foodgame.
 #RUN a2dissite 000-default default-ssl
 RUN a2ensite foodgame.fr
 
-COPY $PWD /var/www/
-WORKDIR /var/www
+WORKDIR /var/www/src/index.php
 
 EXPOSE 80

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

@@ -1,9 +1,8 @@
 <VirtualHost *:80>
    DocumentRoot /var/www/html
-   <Directory /var/www/html>
+   <Directory /var/www/html/>
         option +Indexes +FollowSymlinks
         AllowOverride All
    </Directory>
 </VirtualHost>       
 
-ServerName sd-111634.dedibox.fr