Add: ffmpeg & ffmpegthumbnailer to backend dockerfile
This commit is contained in:
parent
383b349009
commit
09203e797c
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ ENV PYTHONUNBUFFERED 1
|
||||||
# Set work directory
|
# Set work directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install system dependencies
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
ffmpeg \
|
||||||
|
ffmpegthumbnailer \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# --- Create a non-root user and group ---
|
# --- Create a non-root user and group ---
|
||||||
RUN groupadd -g $GID -o archivist && \
|
RUN groupadd -g $GID -o archivist && \
|
||||||
useradd -u $UID -g $GID -o -m -s /bin/bash archivist
|
useradd -u $UID -g $GID -o -m -s /bin/bash archivist
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue