Spaces:
Sleeping
Sleeping
Piyusharanjan Pradhan
commited on
Commit
·
a7a64ac
1
Parent(s):
085912f
fix 1
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -24,7 +24,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 24 |
&& rm -rf /var/lib/apt/lists/*
|
| 25 |
|
| 26 |
# Install Hugging Face CLI for dataset access
|
| 27 |
-
RUN pip3 install --no-cache-dir huggingface_hub[cli]
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# Install code-server
|
| 30 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
|
|
|
| 24 |
&& rm -rf /var/lib/apt/lists/*
|
| 25 |
|
| 26 |
# Install Hugging Face CLI for dataset access
|
| 27 |
+
RUN pip3 install --no-cache-dir huggingface_hub[cli] --break-system-packages
|
| 28 |
+
|
| 29 |
+
# Ensure huggingface-cli is in PATH
|
| 30 |
+
ENV PATH="/usr/local/bin:${PATH}"
|
| 31 |
|
| 32 |
# Install code-server
|
| 33 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|