Spaces:
Paused
Paused
Download Dockerfile from mixtao/xinference: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/spaces/mixtao/xinference/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mixtao/xinference/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mixtao/xinference/resolve/main/Dockerfile
537 Bytes
| FROM zhengr/xinference:nightly-main-cpu | |
| # RUN pip install wetext | |
| # Uninstall the full, empty unidic package | |
| # RUN pip uninstall -y unidic | |
| # Install the lightweight alternative | |
| # RUN pip install unidic-lite | |
| # EXPOSE 9997 | |
| # CMD ["xinference-local", "-H", "0.0.0.0"] | |
| RUN pip install --no-cache-dir wetext | |
| # Uninstall the full, empty unidic package | |
| RUN pip uninstall -y unidic | |
| # Install the lightweight alternative | |
| RUN pip install --no-cache-dir unidic-lite | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| EXPOSE 9997 | |
| CMD ["/start.sh"] |