Spaces:
Runtime error
Runtime error
Download Dockerfile from jerukperas/inf-emb: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/spaces/jerukperas/inf-emb/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jerukperas/inf-emb/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jerukperas/inf-emb/resolve/main/Dockerfile
442 Bytes
| # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
| # you will also find guides on how best to write your Dockerfile | |
| FROM python:3.10 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /infinity_emb | |
| RUN pip install --no-cache-dir -qU pip | |
| RUN pip install --no-cache-dir -qU 'infinity-emb[server,cache,logging,einops,optimum]' | |
| CMD ["infinity_emb", "v2", "--host", "0.0.0.0", "--port", "7860"] |