Spaces:
Paused
Paused
Download Dockerfile from Featherplayz/Temo-cpu: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/Featherplayz/Temo-cpu/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Featherplayz/Temo-cpu/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Featherplayz/Temo-cpu/resolve/main/Dockerfile
429 Bytes
| FROM ubuntu:24.04 | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| sudo \ | |
| git \ | |
| python3 \ | |
| python3-pip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN curl -fsSL https://code-server.dev/install.sh | sh | |
| RUN useradd -m coder && \ | |
| echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | |
| USER coder | |
| WORKDIR /home/coder | |
| EXPOSE 7860 | |
| CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none", "/home/coder"] |