mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-08-11 00:30:12 -04:00
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:
parent
58c98b1075
commit
6cd9cb7033
3 changed files with 8 additions and 4 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo DOCKER_BUILDKIT=0 docker compose build
|
||||
sudo DOCKER_BUILDKIT=0 docker compose build --no-cache
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export default defineConfig({
|
|||
build: {
|
||||
outDir: '../static',
|
||||
emptyOutDir: true,
|
||||
chunkSizeWarningLimit: 3000,
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue