Spaces:
Sleeping
Sleeping
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy requirements and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all model files and apps | |
| COPY *.joblib . | |
| COPY *.json . | |
| COPY full_app.py . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run the full model application | |
| CMD ["uvicorn", "full_app:app", "--host", "0.0.0.0", "--port", "7860"] |