17 lines
		
	
	
		
			404 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			404 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM monica:apache
 | 
						|
 | 
						|
# Use the default production configuration
 | 
						|
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
 | 
						|
 | 
						|
# supervisord dependencies
 | 
						|
RUN set -ex; \
 | 
						|
    \
 | 
						|
    apt-get update; \
 | 
						|
    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"] |