FROM python:3.11-slim WORKDIR /app # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY *.py ./ COPY server/ ./server/ COPY openenv.yaml ./ COPY README.md ./ EXPOSE 7860 # Start the OpenEnv-compatible FastAPI server CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]