winrdo / Dockerfile
hanafi43's picture
Upload 3 files
7a7c87c verified
raw
history blame contribute delete
512 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV DISPLAY=:1
ENV PORT=7860
RUN apt-get update && apt-get install -y \
xfce4 \
xfce4-goodies \
tightvncserver \
novnc \
websockify \
supervisor \
net-tools \
wget \
curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /root/.vnc
RUN echo "root:root" | chpasswd
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
EXPOSE 7860
CMD ["/usr/bin/supervisord"]