Spaces:
Sleeping
Sleeping
File size: 529 Bytes
992ee8c 8a97d19 125c5bc 8a97d19 4e80342 992ee8c 4e80342 992ee8c 8a97d19 125c5bc 8a97d19 125c5bc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | FROM python:3.10-slim
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir streamlit huggingface-hub
# Added huggingface-hub to this line as well to be safe
RUN pip install --no-cache-dir https://huggingface.co/Luigi/llama-cpp-python-wheels-hf-spaces-free-cpu/resolve/main/llama_cpp_python-0.3.22-cp310-cp310-linux_x86_64.whl
EXPOSE 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|