Spaces:
Paused
Paused
Download Dockerfile from adriano1120/Small_Linux: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/spaces/adriano1120/Small_Linux/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/adriano1120/Small_Linux/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/adriano1120/Small_Linux/resolve/main/Dockerfile
1.06 kB
| FROM linuxserver/webtop:ubuntu-xfce | |
| # -------------------------------------------------------- | |
| # 1. SMART PORT CONFIGURATION | |
| # -------------------------------------------------------- | |
| # Instead of guessing the file name, we search the /defaults folder | |
| # for any file containing "3000" and replace it with "7860". | |
| RUN grep -rl "3000" /defaults | xargs sed -i 's/3000/7860/g' | |
| # -------------------------------------------------------- | |
| # 2. PERMISSIONS & ENVIRONMENT | |
| # -------------------------------------------------------- | |
| ENV PUID=1000 | |
| ENV PGID=1000 | |
| ENV TZ=Etc/UTC | |
| # -------------------------------------------------------- | |
| # 3. INSTALL APPS (The Memory) | |
| # -------------------------------------------------------- | |
| # Update apt and install your tools | |
| RUN apt-get update && apt-get install -y \ | |
| python3 \ | |
| python3-pip \ | |
| git \ | |
| firefox \ | |
| nano \ | |
| vlc \ | |
| && apt-get clean | |
| # -------------------------------------------------------- | |
| # 4. START | |
| # -------------------------------------------------------- | |
| # The container handles the rest | |