This commit is contained in:
DigiServer Admin
2025-12-12 15:52:04 +02:00
parent 4a9616a0f7
commit 0dfeb0ef7f

View File

@@ -4,15 +4,15 @@ FROM python:3.13-slim
# Set working directory # Set working directory
WORKDIR /app WORKDIR /app
# Install system dependencies # Install system dependencies including LibreOffice for PPTX conversion
# Note: LibreOffice is excluded from the base image to reduce size (~500MB)
# It can be installed on-demand via the Admin Panel → System Dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
poppler-utils \ poppler-utils \
ffmpeg \ ffmpeg \
libmagic1 \ libmagic1 \
sudo \ sudo \
fonts-noto-color-emoji \ fonts-noto-color-emoji \
libreoffice \
libreoffice-impress \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching # Copy requirements first for better caching