Spaces:
Sleeping
Sleeping
File size: 498 Bytes
3118804 19281b2 09e4ad5 bba1405 09e4ad5 3118804 19281b2 99c9e3a 3118804 0858f84 dddf2a3 bba1405 19281b2 3118804 19281b2 bba1405 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM python:3.9-slim
RUN apt-get update && apt-get install -y \
ca-certificates \
libstdc++6 \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
# Prevent compiling
ENV PIP_ONLY_BINARY=:all:
RUN pip install --no-cache-dir \
llama-cpp-python==0.2.48 \
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
RUN pip install --no-cache-dir "huggingface_hub<0.25.0" gradio
WORKDIR /app
COPY . .
CMD ["python", "app.py"] |