12 lines
		
	
	
		
			No EOL
		
	
	
		
			401 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			401 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
# Use our pre-built base image with ML dependencies
 | 
						|
FROM git.siwatsystem.com/adsist-cms/worker-base:latest
 | 
						|
 | 
						|
# Copy and install application requirements (frequently changing dependencies)
 | 
						|
COPY requirements.txt .
 | 
						|
RUN pip install --no-cache-dir -r requirements.txt
 | 
						|
 | 
						|
# Copy the application code
 | 
						|
COPY . .
 | 
						|
 | 
						|
# Run the application
 | 
						|
CMD ["python3", "-m", "fastapi", "run", "--host", "0.0.0.0", "--port", "8000"] |