mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 09:52:14 +08:00 
			
		
		
		
	[docker] update Dockerfile to set no_proxy and fix pydantic version (#8651)
This commit is contained in:
		
							parent
							
								
									1c44b60e3e
								
							
						
					
					
						commit
						d10d65e4ce
					
				@ -66,6 +66,12 @@ EXPOSE 8000
 | 
			
		||||
ENV http_proxy=
 | 
			
		||||
ENV https_proxy=
 | 
			
		||||
 | 
			
		||||
# Set no_proxy environment variable
 | 
			
		||||
ENV no_proxy="localhost, 127.0.0.1, ::1"
 | 
			
		||||
 | 
			
		||||
# fix pydantic version
 | 
			
		||||
RUN pip install pydantic==2.10.6
 | 
			
		||||
 | 
			
		||||
# Reset pip config
 | 
			
		||||
RUN pip config unset global.index-url && \
 | 
			
		||||
    pip config unset global.extra-index-url
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user