randomaccessmemory / Dockerfile
dymic's picture
Dockerfile
66560a5 verified
Raw History Blame Contribute Delete
675 Bytes
# 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