mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
base build
This commit is contained in:
parent
2b3f17972a
commit
6c94bbb0c2
1 changed files with 26 additions and 0 deletions
26
docker/DispatcharrBase
Normal file
26
docker/DispatcharrBase
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
FROM ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV VIRTUAL_ENV=/dispatcharrpy
|
||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
software-properties-common curl gnupg2 wget lsb-release \
|
||||
build-essential gcc libpcre3 libpcre3-dev python3.13 python3.13-venv python3.13-dev \
|
||||
nginx redis-server libpq-dev procps streamlink \
|
||||
libva-drm2 libva-x11-2 libva-dev libva-wayland2 \
|
||||
i965-va-driver intel-media-va-driver mesa-va-drivers \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create virtual environment
|
||||
RUN python3.13 -m venv $VIRTUAL_ENV && pip install --upgrade pip
|
||||
|
||||
# Install Python deps (expect these to be cached)
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt
|
||||
|
||||
# Add FFmpeg binaries
|
||||
COPY --from=lscr.io/linuxserver/ffmpeg:latest /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
|
||||
COPY --from=lscr.io/linuxserver/ffmpeg:latest /usr/local/bin/ffprobe /usr/local/bin/ffprobe
|
||||
COPY --from=lscr.io/linuxserver/ffmpeg:latest /usr/local/lib/ /usr/local/lib/
|
||||
Loading…
Add table
Add a link
Reference in a new issue