Spaces:
Sleeping
Sleeping
Rick commited on
Commit ·
a67048a
1
Parent(s): 4c80166
HF Docker build: install wget for Spaces dev init step
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -9,7 +9,9 @@
|
|
| 9 |
FROM python:3.10-slim
|
| 10 |
|
| 11 |
# 1. Install system tools as ROOT
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# 2. Setup the user but STAY as root for a moment
|
| 15 |
RUN useradd -m -u 1000 user
|
|
|
|
| 9 |
FROM python:3.10-slim
|
| 10 |
|
| 11 |
# 1. Install system tools as ROOT
|
| 12 |
+
# Include wget because Hugging Face's injected dev-init step fetches
|
| 13 |
+
# OpenVSCode Server with wget during Space builds.
|
| 14 |
+
RUN apt-get update && apt-get install -y build-essential curl wget && rm -rf /var/lib/apt/lists/*
|
| 15 |
|
| 16 |
# 2. Setup the user but STAY as root for a moment
|
| 17 |
RUN useradd -m -u 1000 user
|