oioiooiu commited on
Commit
b93d5cc
·
verified ·
1 Parent(s): 1145cd1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -10
Dockerfile CHANGED
@@ -1,11 +1,5 @@
1
  FROM debian:sid
2
- RUN apt update
3
- RUN useradd -m -u 1000 user
4
- RUN apt install wget curl sudo git curl -y
5
- RUN git clone https://github.com/dylanaraps/neofetc... /opt/neofetch && \
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"]