mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-21 05:58:05 +02:00
feat: Introduce HLS streaming API with FFmpeg-based live and VOD transcoding, including GPU acceleration, and add web player files and an Xtream service.
This commit is contained in:
1 parent
33d0e0a80d
commit
1432ca12bc
1 file changed
+5
-7
+5
-7
@@ -16,6 +16,9 @@ ENV DART_VM_OPTIONS="--old_gen_heap_size=4096"
|
|||||||
# Enable web support (idempotent)
|
# Enable web support (idempotent)
|
||||||
RUN flutter config --enable-web
|
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)
|
# Force cache invalidation when source changes (update this value to force rebuild)
|
||||||
ARG CACHEBUST=2026-03-09-mobile-v1
|
ARG CACHEBUST=2026-03-09-mobile-v1
|
||||||
|
|
||||||
@@ -28,17 +31,12 @@ RUN flutter pub get
|
|||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Re-run pub get
|
|
||||||
RUN flutter pub get
|
|
||||||
|
|
||||||
# Generate code
|
# Generate code
|
||||||
RUN dart run build_runner build --delete-conflicting-outputs
|
RUN dart run build_runner build --delete-conflicting-outputs
|
||||||
|
|
||||||
# Clean build environment
|
|
||||||
RUN flutter clean
|
|
||||||
|
|
||||||
# Build web application
|
# 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)
|
# Stage 2: Compile Configurable Server (Native)
|
||||||
|
|||||||
Reference in new issue
Block a user