Spaces:
Running
Running
Download Dockerfile from shreyask/svara-tts-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/shreyask/svara-tts-webgpu/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/shreyask/svara-tts-webgpu/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/shreyask/svara-tts-webgpu/resolve/main/Dockerfile
318 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR $HOME/app | |
| COPY --chown=user . $HOME/app | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "http.server", "7860", "--directory", "/home/user/app"] | |