Download Dockerfile from AEUPH/hdcstorage: direct link, hf CLI and curl.
- Browser
- Download file 625 Bytes
-
https://huggingface.co/AEUPH/hdcstorage/resolve/main/Dockerfile
- Command line
-
hf download hf://AEUPH/hdcstorage/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/AEUPH/hdcstorage/resolve/main/Dockerfile
625 Bytes
| # HDCSTORAGE runs on the standard library alone: no pip installs, no wheels, | |
| # no build step. The only bundled asset is the static embedding table the | |
| # assistant's encoder projects into hypervectors. | |
| FROM python:3.13-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 | |
| WORKDIR /app | |
| COPY hdc ./hdc | |
| COPY tests ./tests | |
| COPY artifacts ./artifacts | |
| COPY models ./models | |
| COPY README.md ./README.md | |
| # Spaces routes to app_port (7860); the CLI binds 127.0.0.1 by default, so the | |
| # container has to be told to listen on all interfaces. | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "hdc", "web", "--host", "0.0.0.0", "--port", "7860"] | |