FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive # Step 1: Necessary tools ar Firefox install RUN apt update && apt install -y \ firefox \ tmate \ wget \ curl \ python3-pip \ && rm -rf /var/lib/apt/lists/* # Step 2: TTYD ar Cloudflared (Tunneling for high quality) RUN wget https://github.com/tsl0922/ttyd/releases/download/1.7.3/ttyd.x86_64 -O /usr/local/bin/ttyd && chmod +x /usr/local/bin/ttyd RUN wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && dpkg -i cloudflared-linux-amd64.deb # Step 3: Startup Script (Firefox-ke web-e show korbe) # Amra headless mode use korbo jate graphics driver charao smooth chole CMD tmate -S /tmp/tmate.sock new-session -d && \ cloudflared tunnel --url http://localhost:7860 & \ ttyd -p 7860 firefox --no-remote --new-instance