Deploy PixelLock GPU Space (llama.cpp + GGUF + GBNF + custom UI)
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -18,8 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 18 |
RUN ln -sf "$(command -v llama-server || echo /app/llama-server)" /usr/local/bin/llama-server || true
|
| 19 |
|
| 20 |
COPY requirements.txt /tmp/requirements.txt
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
# --- non-root user (HF Spaces requirement) ----------------------------------
|
| 25 |
RUN useradd -m -u 1000 user
|
|
|
|
| 18 |
RUN ln -sf "$(command -v llama-server || echo /app/llama-server)" /usr/local/bin/llama-server || true
|
| 19 |
|
| 20 |
COPY requirements.txt /tmp/requirements.txt
|
| 21 |
+
# Ubuntu 24.04 base → PEP 668 blocks system pip installs; --break-system-packages
|
| 22 |
+
# is the intended escape hatch inside a container.
|
| 23 |
+
RUN pip3 install --no-cache-dir --break-system-packages -r /tmp/requirements.txt
|
| 24 |
|
| 25 |
# --- non-root user (HF Spaces requirement) ----------------------------------
|
| 26 |
RUN useradd -m -u 1000 user
|