Spaces:
Runtime error
Runtime error
FROM python:3.11 | |
WORKDIR /code | |
COPY backend/requirements.txt ./requirements.txt | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
ENV HF_HOME=/tmp | |
RUN mkdir -p /tmp && chmod -R 777 /tmp | |
CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"] |