This commit is contained in:
		
							
								
								
									
										18
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								Dockerfile
									
									
									
									
									
								
							@@ -1 +1,17 @@
 | 
				
			|||||||
FROM monica:apache
 | 
					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"]
 | 
				
			||||||
@@ -1,17 +0,0 @@
 | 
				
			|||||||
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"]
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user