memmywinks commited on
Commit
32d4dff
ยท
verified ยท
1 Parent(s): c41af55

Upload 6 files

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -54,6 +54,13 @@ RUN cmake -B build \
54
  # Install llama.cpp Python conversion deps
55
  RUN pip install --no-cache-dir -r requirements.txt || true
56
 
 
 
 
 
 
 
 
57
  # โ”€โ”€ Working directories โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
58
  RUN mkdir -p /workspace/model-fp8 \
59
  /workspace/model-bf16 \
 
54
  # Install llama.cpp Python conversion deps
55
  RUN pip install --no-cache-dir -r requirements.txt || true
56
 
57
+ # โ”€โ”€ Runtime secrets (injected by HF Spaces; never hard-coded) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
58
+ # Declaring ENV here tells the HF Spaces runtime to inject the Secret named
59
+ # HF_TOKEN into the container. The value is intentionally empty in the image
60
+ # itself โ€“ credentials must come from the Space's Secrets panel, never from
61
+ # the Dockerfile or any committed file.
62
+ ENV HF_TOKEN=""
63
+
64
  # โ”€โ”€ Working directories โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
65
  RUN mkdir -p /workspace/model-fp8 \
66
  /workspace/model-bf16 \