Fixed docker build warnings

- 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 <noreply@anthropic.com>
This commit is contained in:
maziggy 2025-12-14 09:36:19 +01:00
parent 58c98b1075
commit 6cd9cb7033
3 changed files with 8 additions and 4 deletions

View file

@ -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/

View file

@ -1,3 +1,3 @@
#!/bin/sh
sudo DOCKER_BUILDKIT=0 docker compose build
sudo DOCKER_BUILDKIT=0 docker compose build --no-cache

View file

@ -7,6 +7,7 @@ export default defineConfig({
build: {
outDir: '../static',
emptyOutDir: true,
chunkSizeWarningLimit: 3000,
},
server: {
proxy: {