Spaces:
Runtime error
Runtime error
Download Dockerfile from MicroCore-Labs/MicroCore-Studio-Engine-Kokoro-TTS: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/MicroCore-Labs/MicroCore-Studio-Engine-Kokoro-TTS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MicroCore-Labs/MicroCore-Studio-Engine-Kokoro-TTS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MicroCore-Labs/MicroCore-Studio-Engine-Kokoro-TTS/resolve/main/Dockerfile
361 Bytes
| FROM python:3.12-slim | |
| WORKDIR /code | |
| RUN apt-get update && apt-get install -y espeak-ng nodejs curl && rm -rf /var/lib/apt/lists/* | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN python3 -c "from spacy.cli import download; download('en_core_web_sm')" | |
| COPY . . | |
| CMD ["python3", "app.py"] | |