Small_Linux / Dockerfile
Shinhati2023's picture
Update Dockerfile
742c639 verified
FROM linuxserver/webtop:ubuntu-xfce
# --------------------------------------------------------
# 1. SMART PORT CONFIGURATION
# --------------------------------------------------------
# Instead of guessing the file name, we search the /defaults folder
# for any file containing "3000" and replace it with "7860".
RUN grep -rl "3000" /defaults | xargs sed -i 's/3000/7860/g'
# --------------------------------------------------------
# 2. PERMISSIONS & ENVIRONMENT
# --------------------------------------------------------
ENV PUID=1000
ENV PGID=1000
ENV TZ=Etc/UTC
# --------------------------------------------------------
# 3. INSTALL APPS (The Memory)
# --------------------------------------------------------
# Update apt and install your tools
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
git \
firefox \
nano \
vlc \
&& apt-get clean
# --------------------------------------------------------
# 4. START
# --------------------------------------------------------
# The container handles the rest