formation 5 년 전
부모
커밋
6dbc28cc71
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  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