Spaces:
				
			
			
	
			
			
		Build error
		
	
	
	
			
			
	
	
	
	
		
		
		Build error
		
	| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY . . | |
| RUN apt-get update && apt-get install -y libgl1 libglib2.0-0 git | |
| # Install git-lfs first if the repo uses LFS | |
| RUN apt-get install -y git-lfs && git lfs install | |
| # Clone the repo first | |
| RUN git clone https://github.com/Yuanshi9815/OminiControl.git /tmp/OminiControl | |
| # Manually install dependencies and the repo | |
| RUN pip install --no-cache-dir /tmp/OminiControl | |
| # Install remaining requirements | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |