sss / Dockerfile
CineMax's picture
Upload 2 files
9930117 verified
Raw History Blame Contribute Delete
482 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
xfce4 xfce4-goodies \
x11vnc xvfb \
novnc websockify \
curl wget sudo \
xrdp \
net-tools \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Crear usuario RDP
RUN useradd -m -s /bin/bash RDP && \
adduser RDP sudo && \
echo "RDP ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
COPY start.sh /start.sh
RUN chmod +x /start.sh
EXPOSE 7860
CMD ["/start.sh"]