Spaces:
Sleeping
Sleeping
Download Dockerfile from h-rand/solfa-player: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/spaces/h-rand/solfa-player/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/h-rand/solfa-player/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/h-rand/solfa-player/resolve/main/Dockerfile
347 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # Copier les fichiers | |
| COPY . /code | |
| # Créer un dossier pour les caches éventuels | |
| RUN mkdir -p /code/cache | |
| RUN chmod 777 /code/cache | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |