Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -19,10 +19,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 19 |
unzip \
|
| 20 |
procps \
|
| 21 |
inotify-tools \
|
| 22 |
-
&& curl -LsSf https://hf.co/cli/install.sh | bash \
|
| 23 |
&& rm -rf /var/lib/apt/lists/*
|
| 24 |
|
| 25 |
|
|
|
|
| 26 |
# 3. Copy OpenCode install script
|
| 27 |
COPY install.sh /install.sh
|
| 28 |
RUN chmod +x /install.sh
|
|
|
|
| 19 |
unzip \
|
| 20 |
procps \
|
| 21 |
inotify-tools \
|
| 22 |
+
&& curl -LsSf https://hf.co/cli/install.sh | bash -s -- --no-modify-path \
|
| 23 |
&& rm -rf /var/lib/apt/lists/*
|
| 24 |
|
| 25 |
|
| 26 |
+
|
| 27 |
# 3. Copy OpenCode install script
|
| 28 |
COPY install.sh /install.sh
|
| 29 |
RUN chmod +x /install.sh
|