16 lines
		
	
	
		
			521 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			521 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM monica:apache
 | 
						|
 | 
						|
# Use the default production configuration
 | 
						|
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
 | 
						|
# increase php upload limit
 | 
						|
RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 10M/' "$PHP_INI_DIR/php.ini"
 | 
						|
 | 
						|
# supervisord dependencies
 | 
						|
RUN apt-get update && \
 | 
						|
    apt-get full-upgrade -y && \
 | 
						|
    apt-get install -y --no-install-recommends supervisor && \
 | 
						|
    rm -rf /var/lib/apt/lists/*
 | 
						|
 | 
						|
COPY supervisord.conf /etc/supervisord.conf
 | 
						|
 | 
						|
CMD ["supervisord", "-c", "/etc/supervisord.conf"] |