Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -2,10 +2,9 @@ FROM python:3.10-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
#
|
| 6 |
-
RUN apt-get update && apt-get install -y libopenblas-dev && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
-
# Force install the pre-compiled wheel made specifically for HF Spaces Free Tier
|
| 9 |
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
|
| 10 |
|
| 11 |
COPY requirements.txt .
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Added libgomp1 here to satisfy the OpenMP dependency
|
| 6 |
+
RUN apt-get update && apt-get install -y libopenblas-dev libgomp1 && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
|
|
|
| 8 |
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
|
| 9 |
|
| 10 |
COPY requirements.txt .
|