Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -13,11 +13,11 @@ ENV HOME=/home/user \
|
|
| 13 |
|
| 14 |
WORKDIR $HOME/app
|
| 15 |
|
| 16 |
-
# Copy and install requirements
|
| 17 |
COPY --chown=user requirements.txt .
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
-
# Install llama-cpp-python from prebuilt CPU wheels
|
| 21 |
RUN pip install --no-cache-dir llama-cpp-python \
|
| 22 |
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
| 23 |
|
|
|
|
| 13 |
|
| 14 |
WORKDIR $HOME/app
|
| 15 |
|
| 16 |
+
# Copy and install basic requirements
|
| 17 |
COPY --chown=user requirements.txt .
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
+
# Install llama-cpp-python from prebuilt CPU wheels for fast, error-free setup
|
| 21 |
RUN pip install --no-cache-dir llama-cpp-python \
|
| 22 |
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
| 23 |
|