nwo-agent-graph / Dockerfile
CPater's picture
Upload 3 files
930512a verified
Raw
History Blame Contribute Delete
675 Bytes
# NWO Agent Graph — Hugging Face Space
# Minimal build: pure Python only, no compilation.
# Inference runs via HF Inference API (free, no GPU needed).
# BitNet local inference can be added later once Space is stable.
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip --no-cache-dir \
&& pip install -r requirements.txt --no-cache-dir
COPY . /app/
RUN mkdir -p /app/data /app/static
ENV MODEL_AUTO_DOWNLOAD=false
ENV USE_LLAMA_CPP=false
EXPOSE 7860
CMD ["python", "app.py"]