HPLL-DataNode / Dockerfile
gionuibk's picture
DevOps: Automated deploy of HPLL-DataNode
91770ed verified
Raw
History Blame Contribute Delete
408 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
pandas \
pyarrow \
websockets \
huggingface_hub \
requests \
psutil
COPY app.py .
# /data = HF Dataset mount hoặc local storage
RUN mkdir -p /data/cache
EXPOSE 7860
CMD ["python", "-u", "app.py"]