File size: 524 Bytes
abefc42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Dockerfile
FROM ubuntu:20.04

ENV DEBIAN_FRONTEND=noninteractive

# تثبيت LXDE وVNC وnoVNC
RUN apt update && apt install -y \
    lxde \
    x11vnc \
    xvfb \
    supervisor \
    novnc \
    websockify \
    wget \
    net-tools \
    python3 && \
    apt clean && \
    mkdir -p ~/.vnc

# تعيين كلمة مرور للـ VNC
RUN x11vnc -storepasswd 123456 ~/.vnc/passwd

# نسخ ملف الإشراف
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

EXPOSE 7860

CMD ["/usr/bin/supervisord"]