Spaces:
Sleeping
Sleeping
| # Use official Python image | |
| FROM python:3.10 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . /app | |
| # Install dependencies | |
| RUN pip install fastapi uvicorn gradio_client | |
| RUN pip install python-multipart | |
| RUN pip install gradio | |
| # Expose FastAPI default port | |
| EXPOSE 7860 | |
| # Run the FastAPI app | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |