Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -10
Dockerfile
CHANGED
|
@@ -1,11 +1,5 @@
|
|
| 1 |
FROM debian:sid
|
| 2 |
-
RUN apt update
|
| 3 |
-
RUN
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
ln -s /opt/neofetch/neofetch /usr/local/bin/neofetch
|
| 7 |
-
RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
|
| 8 |
-
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 9 |
-
ENV HOME=/home/user \
|
| 10 |
-
PATH=/home/user/.local/bin:$PATH
|
| 11 |
-
CMD code-server --auth none --bind-addr 0.0.0.0:7860
|
|
|
|
| 1 |
FROM debian:sid
|
| 2 |
+
RUN apt-get update && apt-get install -y curl
|
| 3 |
+
RUN curl -fsSL https://code-server.dev | sh
|
| 4 |
+
# Expose port 7860 (Hugging Face default)
|
| 5 |
+
CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|