Spaces:
Build error
Build error
Download Dockerfile from Serg4451D/linux-xfce4: direct link, hf CLI and curl.
- Browser
- Download file 765 Bytes
-
https://huggingface.co/spaces/Serg4451D/linux-xfce4/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Serg4451D/linux-xfce4/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Serg4451D/linux-xfce4/resolve/main/Dockerfile
765 Bytes
| FROM ubuntu:20.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Установка необходимых пакетов | |
| RUN apt-get update && apt-get install -y \ | |
| xfce4 \ | |
| xfce4-goodies \ | |
| tightvncserver \ | |
| novnc \ | |
| websockify \ | |
| supervisor \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Настройка VNC | |
| RUN mkdir ~/.vnc | |
| RUN echo "password" | vncpasswd -f > ~/.vnc/passwd | |
| RUN chmod 600 ~/.vnc/passwd | |
| # Копирование конфигурационных файлов | |
| COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
| COPY xstartup /root/.vnc/xstartup | |
| # Открытие портов | |
| EXPOSE 6080 | |
| # Запуск супервизора | |
| CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] |