فهرست منبع

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>
maziggy 5 ماه پیش
والد
کامیت
6cd9cb7033
3فایلهای تغییر یافته به همراه8 افزوده شده و 4 حذف شده
  1. 6 3
      Dockerfile
  2. 1 1
      build_docker.sh
  3. 1 0
      frontend/vite.config.ts

+ 6 - 3
Dockerfile

@@ -14,13 +14,16 @@ FROM python:3.13-slim
 
 
 WORKDIR /app
 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/*
     && rm -rf /var/lib/apt/lists/*
 
 
 # Install Python dependencies
 # Install Python dependencies
 COPY requirements.txt ./
 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
 COPY backend/ ./backend/
 COPY backend/ ./backend/

+ 1 - 1
build_docker.sh

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

+ 1 - 0
frontend/vite.config.ts

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