From 6cd9cb70334cd1a7443e02ddc516efb0dd349b28 Mon Sep 17 00:00:00 2001 From: maziggy Date: Sun, 14 Dec 2025 09:36:19 +0100 Subject: [PATCH] Fixed docker build warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added DEBIAN_FRONTEND=noninteractive to suppress debconf warnings - Added --root-user-action=ignore to pip install - Added ffmpeg to Docker image - Increased chunkSizeWarningLimit to 3000 for Vite build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Dockerfile | 9 ++++++--- build_docker.sh | 2 +- frontend/vite.config.ts | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 548158244..c96c85b88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,16 @@ FROM python:3.13-slim WORKDIR /app -# Install system dependencies (curl for health checks/testing) -RUN apt-get update && apt-get install -y --no-install-recommends curl \ +# Install system dependencies +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update && apt-get install -y --no-install-recommends \ + curl \ + ffmpeg \ && rm -rf /var/lib/apt/lists/* # Install Python dependencies COPY requirements.txt ./ -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir --root-user-action=ignore -r requirements.txt # Copy backend COPY backend/ ./backend/ diff --git a/build_docker.sh b/build_docker.sh index 145e869e0..8fdf7a2cc 100755 --- a/build_docker.sh +++ b/build_docker.sh @@ -1,3 +1,3 @@ #!/bin/sh -sudo DOCKER_BUILDKIT=0 docker compose build +sudo DOCKER_BUILDKIT=0 docker compose build --no-cache diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index c3d9a9c6f..3653327e8 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -7,6 +7,7 @@ export default defineConfig({ build: { outDir: '../static', emptyOutDir: true, + chunkSizeWarningLimit: 3000, }, server: { proxy: {