Spaces:
Running
Running
fix: install git in image; lean procgrep (umap now optional)
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,10 @@ FROM python:3.11-slim
|
|
| 7 |
|
| 8 |
WORKDIR /app
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# HF Spaces run as a non-root user; keep all caches under writable /tmp.
|
| 11 |
ENV HF_HOME=/tmp/hf \
|
| 12 |
HF_DATASETS_CACHE=/tmp/hf/datasets \
|
|
|
|
| 7 |
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
+
# git is needed to pip-install procgrep from its repo (slim has none).
|
| 11 |
+
RUN apt-get update && apt-get install -y --no-install-recommends git \
|
| 12 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
+
|
| 14 |
# HF Spaces run as a non-root user; keep all caches under writable /tmp.
|
| 15 |
ENV HF_HOME=/tmp/hf \
|
| 16 |
HF_DATASETS_CACHE=/tmp/hf/datasets \
|