Spaces:
Paused
Paused
Download Dockerfile from triflix/firefox-browser: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/triflix/firefox-browser/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/triflix/firefox-browser/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/triflix/firefox-browser/resolve/main/Dockerfile
451 Bytes
| FROM ubuntu:20.04 | |
| # Disable interactive apt | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Install XFCE + VNC + noVNC | |
| RUN apt-get update && apt-get install -y \ | |
| xfce4 xfce4-goodies \ | |
| novnc websockify \ | |
| x11vnc xvfb \ | |
| wget curl git net-tools \ | |
| && apt-get clean | |
| # Setup noVNC | |
| RUN mkdir -p /root/.vnc | |
| RUN x11vnc -storepasswd 1234 /root/.vnc/passwd | |
| # Start script | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| EXPOSE 8080 | |
| CMD ["/start.sh"] | |