hdcstorage / Dockerfile
AEUPH's picture
HDCSTORAGE: hyperdimensional computer, webOS and agentic MCP layer (stdlib-only Python)
ad474c9 verified
Raw History Blame Contribute Delete
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"]