mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 02:57:57 +00:00
Add VLC packages and environment variables to DispatcharrBase
This commit is contained in:
parent
41642cd479
commit
3b7f6dadaa
1 changed files with 7 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|||
python-is-python3 python3-pip \
|
||||
libpcre3 libpcre3-dev libpq-dev procps \
|
||||
build-essential gcc pciutils \
|
||||
nginx streamlink comskip\
|
||||
nginx streamlink comskip \
|
||||
vlc-bin vlc-plugin-base vlc-plugin-access-extra \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# --- Create Python virtual environment ---
|
||||
|
|
@ -25,6 +26,11 @@ RUN python3.13 -m venv $VIRTUAL_ENV && $VIRTUAL_ENV/bin/pip install --upgrade pi
|
|||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN $VIRTUAL_ENV/bin/pip install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt
|
||||
|
||||
# --- Configure VLC for headless operation ---
|
||||
# Set VLC environment variables for headless operation
|
||||
ENV PULSE_SERVER=none \
|
||||
DBUS_SESSION_BUS_ADDRESS=/dev/null
|
||||
|
||||
# --- Set up Redis 7.x ---
|
||||
RUN curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg && \
|
||||
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue