File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2222        uses : docker/build-push-action@v6 
2323        with :
2424          platforms : linux/amd64,linux/arm64 
25-           context : . 
2625          push : true 
2726          tags : ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest 
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM php:8.2-rc-apache
22
33RUN  echo "ServerName localhost"  >> /etc/apache2/apache2.conf
44RUN  rm /etc/apache2/sites-enabled/000-default.conf
5- COPY  ./vhosts/vhosts.conf /etc/apache2/sites-enabled/vhosts.conf
5+ COPY  ./docker/php/ vhosts/vhosts.conf /etc/apache2/sites-enabled/vhosts.conf
66RUN  echo 'deb [trusted=yes] https://repo.symfony.com/apt/ /'  | tee /etc/apt/sources.list.d/symfony-cli.list
77RUN  apt-get update \
88    && apt-get install -y --no-install-recommends \
@@ -54,10 +54,10 @@ RUN chown -R www-data:www-data /var/www/mock-veliko-api
5454RUN  service apache2 restart
5555
5656#  Suppression de GIT
57- RUN  apt-get purge -y git
57+ # RUN apt-get purge -y git
5858
5959#  Clean up any remaining Git directories and files
60- RUN  rm -rf /usr/local/git /usr/local/bin/git /usr/local/share/git-Core /usr/share/doc/git /usr/share/man/man1/git*
60+ # RUN rm -rf /usr/local/git /usr/local/bin/git /usr/local/share/git-Core /usr/share/doc/git /usr/share/man/man1/git*
6161
6262#  CLI command init
6363#  RUN cd mock-veliko-api && php bin/edu init
Original file line number Diff line number Diff line change 11services :
22  app :
33    container_name : mock-veliko-api 
4-     build : ./docker/php  
4+     build : . 
55    ports :
66      - " 9042:80" 
77    #     volumes:
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments