glm-flash-api / Dockerfile
LuillY3's picture
Upload 3 files
bcc9553 verified
Raw History Blame Contribute Delete
405 Bytes
FROM ghcr.io/ggml-org/llama.cpp:server
USER root
RUN apt-get update && apt-get install -y \
python3 python3-pip curl ca-certificates \
&& pip3 install --break-system-packages --no-cache-dir "huggingface_hub" \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /models && chmod 777 /models
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 7860
ENTRYPOINT ["/entrypoint.sh"]