FROM python:3.10-slim WORKDIR /app # Copy dependencies COPY requirements.txt . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy application files COPY . . # Expose port for FastAPI OpenEnv Server EXPOSE 7860 # Command to run the application CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]