Spaces:
Runtime error
Runtime error
Download Dockerfile from NicheBean/Dockerlinux: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/spaces/NicheBean/Dockerlinux/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/NicheBean/Dockerlinux/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/NicheBean/Dockerlinux/resolve/main/Dockerfile
513 Bytes
| # Use the official Ubuntu image as a base | |
| FROM ubuntu:latest | |
| # Set environment variables | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Install necessary dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| gnupg \ | |
| lsb-release \ | |
| ca-certificates \ | |
| sudo \ | |
| git \ | |
| apache2-utils && \ | |
| apt-get clean | |
| # Expose port for Webtop | |
| EXPOSE 8080 | |
| # Install Webtop using its installation script | |
| RUN curl -fsSL https://webtop.dev/install.sh | sh | |
| # Command to start Webtop | |
| CMD ["webtop", "start"] |