File size: 675 Bytes
66560a5
 
780f113
66560a5
 
 
 
780f113
66560a5
 
 
780f113
66560a5
e2bb0cf
 
 
66560a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Step 1: Ekta stable ar lightweight image use korchi
FROM dorowu/ubuntu-desktop-lxde-vnc

# Step 2: Hugging Face-er port requirement fix kora
ENV VNC_PORT=5900
ENV NO_VNC_PORT=7860
ENV VNC_PASSWORD=shishir123

# Step 3: Dorkari tools install (Ami tmate o eikhane diye dilam)
USER root
RUN apt-get update && apt-get install -y tmate curl wget && rm -rf /var/lib/apt/lists/*

# Step 4: Startup command jeta terminal ar desktop eksathe chalu rakhbe
CMD tmate -S /tmp/tmate.sock new-session -d && \
    tmate -S /tmp/tmate.sock wait display-name && \
    tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}' && \
    /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf