Spaces:
Running on Zero
Running on Zero
github-actions[bot]
Deploy DoppelGen compiled C-extension binary distribution to Hugging Face Space
568d434 | FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y ffmpeg procps git && rm -rf /var/lib/apt/lists/* | |
| COPY docker/requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PYTHONPATH=/app | |
| CMD ["sh", "-c", "python preload_models.py && uvicorn captiona.api.main:app --host 0.0.0.0 --port 8000"] | |