Init du projet
This commit is contained in:
		
							
								
								
									
										12
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
FROM php:7.0-apache
 | 
			
		||||
 | 
			
		||||
RUN apt-get update \
 | 
			
		||||
 && apt-get install -y git zlib1g-dev \
 | 
			
		||||
 && docker-php-ext-install zip \
 | 
			
		||||
 && a2enmod rewrite \
 | 
			
		||||
 && sed -i 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/000-default.conf \
 | 
			
		||||
 && mv /var/www/html /var/www/public \
 | 
			
		||||
 && curl -sS https://getcomposer.org/installer \
 | 
			
		||||
  | php -- --install-dir=/usr/local/bin --filename=composer
 | 
			
		||||
 | 
			
		||||
WORKDIR /var/www
 | 
			
		||||
		Reference in New Issue
	
	Block a user