Spaces:
Running
Running
fix: install python3-venv and python3-pip for non-root venv creation
Browse filesUsers hit a dependency loop: python3-venv missing → can't create venv →
can't install packages → no root to apt install at runtime.
Installing at build time unblocks standard python3 -m venv usage.
uv venv also works as an alternative (uv is in PATH via profile.d).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 10 |
curl \
|
| 11 |
jq \
|
| 12 |
python3 \
|
|
|
|
|
|
|
| 13 |
chromium \
|
| 14 |
libnss3 \
|
| 15 |
libatk1.0-0 \
|
|
|
|
| 10 |
curl \
|
| 11 |
jq \
|
| 12 |
python3 \
|
| 13 |
+
python3-venv \
|
| 14 |
+
python3-pip \
|
| 15 |
chromium \
|
| 16 |
libnss3 \
|
| 17 |
libatk1.0-0 \
|