mirror of
				https://github.com/microsoft/autogen.git
				synced 2025-11-04 03:39:52 +00:00 
			
		
		
		
	* Update FunctionCallGenerator.cs to address race condition Update FunctionCallGenerator.cs to address race condition * Update Dockerfile Use MCR registry * Update Dockerfile Use MCR registry
		
			
				
	
	
		
			18 lines
		
	
	
		
			453 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			453 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM mcr.microsoft.com/devcontainers/python:3.10
 | 
						|
 | 
						|
WORKDIR /code
 | 
						|
 | 
						|
RUN pip install -U gunicorn autogenstudio
 | 
						|
 | 
						|
RUN useradd -m -u 1000 user
 | 
						|
USER user
 | 
						|
ENV HOME=/home/user \
 | 
						|
    PATH=/home/user/.local/bin:$PATH \
 | 
						|
    AUTOGENSTUDIO_APPDIR=/home/user/app
 | 
						|
 | 
						|
WORKDIR $HOME/app
 | 
						|
 | 
						|
COPY --chown=user . $HOME/app
 | 
						|
 | 
						|
CMD gunicorn -w $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout 12600 -k uvicorn.workers.UvicornWorker autogenstudio.web.app:app --bind "0.0.0.0:8081"
 |