FROM python:3.10 # Set working directory WORKDIR /app # Copy all project files COPY . . # Install dependencies RUN pip install --upgrade pip RUN pip install -r requirements.txt # Expose port 7860 as required by Hugging Face EXPOSE 7860 # Run the FastAPI app CMD ["uvicorn", "app3:app", "--host", "0.0.0.0", "--port", "7860"]