From 1432ca12bc65d50aa721297923e692d60fa6346d Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Tue, 10 Mar 2026 10:44:27 +0100 Subject: [PATCH] feat: Introduce HLS streaming API with FFmpeg-based live and VOD transcoding, including GPU acceleration, and add web player files and an Xtream service. --- Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bee59e..3cce03c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,9 @@ ENV DART_VM_OPTIONS="--old_gen_heap_size=4096" # Enable web support (idempotent) RUN flutter config --enable-web +# Clean build environment at the START if needed, but usually redundant in fresh image +# RUN flutter clean + # Force cache invalidation when source changes (update this value to force rebuild) ARG CACHEBUST=2026-03-09-mobile-v1 @@ -28,17 +31,12 @@ RUN flutter pub get # Copy source code COPY . . -# Re-run pub get -RUN flutter pub get - # Generate code RUN dart run build_runner build --delete-conflicting-outputs -# Clean build environment -RUN flutter clean - # Build web application -RUN flutter build web --release --base-href="/" --no-wasm-dry-run --no-tree-shake-icons --verbose +# We use --no-pub because we already ran it +RUN flutter build web --release --base-href="/" --no-pub --no-wasm-dry-run --no-tree-shake-icons --verbose # ============================================ # Stage 2: Compile Configurable Server (Native)