Lined-Studio / Dockerfile
CommandLined's picture
Update Dockerfile
7346d21 verified
raw
history blame contribute delete
793 Bytes
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