solarkyle commited on
Commit
cf2cc99
·
verified ·
1 Parent(s): 1481e5c

Deploy PixelLock GPU Space (llama.cpp + GGUF + GBNF + custom UI)

Browse files
Files changed (1) hide show
  1. 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
- RUN python3 -m pip install --no-cache-dir --upgrade pip \
22
- && pip3 install --no-cache-dir -r /tmp/requirements.txt
 
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