FROM debian:bookworm-slim RUN apt-get update && apt-get install -y \ curl \ ffmpeg \ tmux \ nano \ python3 \ python3-pip \ && pip3 install --no-cache-dir --break-system-packages -U yt-dlp \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Set the user UID and GID to match the host system ARG PUID=1026 ARG PGID=100 ENV PUID=${PUID} ENV PGID=${PGID} # Create the user with the existing GID (group 'users' has GID 100) RUN useradd -u ${PUID} -g ${PGID} -m ltd69boxi2282FA RUN echo 'alias yt="yt-dlp"' >> /home/ltd69boxi2282FA/.bashrc && \ echo '[[ $TMUX == "" ]] && tmux new-session -d' >> /home/ltd69boxi2282FA/.bashrc && \ chown ltd69boxi2282FA:users /home/ltd69boxi2282FA/.bashrc USER ltd69boxi2282FA WORKDIR /home/ltd69boxi2282FA CMD ["tmux"]