Spaces:
Paused
Paused
Download Dockerfile from Owsmyf/FzTestSpace: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/Owsmyf/FzTestSpace/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Owsmyf/FzTestSpace/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Owsmyf/FzTestSpace/resolve/main/Dockerfile
358 Bytes
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y ttyd sudo curl wget git iproute2 net-tools iputils-ping htop tmux && rm -rf /var/lib/apt/lists/* | |
| RUN useradd -m -u 1000 ubuntu && echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | |
| USER ubuntu | |
| WORKDIR /home/ubuntu | |
| EXPOSE 17860 | |
| CMD ["ttyd", "-p", "17860", "bash"] |