Spaces:
Paused
Paused
Download Dockerfile from sematech/translator: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/spaces/sematech/translator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sematech/translator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sematech/translator/resolve/main/Dockerfile
217 Bytes
| FROM python:3.10.9 | |
| COPY . . | |
| WORKDIR / | |
| RUN pip install --no-cache-dir --upgrade -r /requirements.txt | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| CMD ["uvicorn", "modules.app:app", "--host", "0.0.0.0", "--port", "7860"] |