Spaces:
Runtime error
Runtime error
FROM python:3.10-slim | |
WORKDIR /app | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY app/ ./app/ | |
ENV PYTHONPATH=/app | |
# Create writable cache directory for Composio | |
RUN mkdir -p /app/.composio && chmod 777 /app/.composio | |
ENV COMPOSIO_CACHE_DIR=/app/.composio | |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |