FROM ghcr.io/linuxserver/webtop:ubuntu-xfce # ตั้งค่าเบื้องต้น ENV PUID=1000 ENV PGID=1000 ENV TZ=Asia/Bangkok ENV TITLE=MyGuacamoleDesktop # ติดตั้ง Google Chrome RUN \ apt-get update && \ apt-get install -y wget && \ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \ apt-get install -y ./google-chrome-stable_current_amd64.deb || apt-get install -y -f && \ rm google-chrome-stable_current_amd64.deb && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* # เราจะไม่แก้ /etc/resolv.conf ที่นี่ เพราะมันติด Read-only # แต่เราจะใช้วิธีรัน Chrome แบบข้ามปัญหา DNS แทน EXPOSE 3000