Dockerfile: upload limit increased
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone Build is passing
				
			This commit is contained in:
		@@ -3,7 +3,7 @@ FROM monica:apache
 | 
				
			|||||||
# Use the default production configuration
 | 
					# Use the default production configuration
 | 
				
			||||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
 | 
					RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
 | 
				
			||||||
# increase php upload limit
 | 
					# increase php upload limit
 | 
				
			||||||
RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 10M/' "$PHP_INI_DIR/php.ini"
 | 
					RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 50M/' "$PHP_INI_DIR/php.ini"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# supervisord dependencies
 | 
					# supervisord dependencies
 | 
				
			||||||
RUN apt-get update && \
 | 
					RUN apt-get update && \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user