mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-22 22:48:04 +02:00
build: Configure Dockerfile for Flutter web release build and add the web application entry point index.html.
This commit is contained in:
1 parent
2313177904
commit
35062247d8
2 files changed
+8
-3
No files matched your search
+2
-2
@@ -26,8 +26,8 @@ COPY . .
|
||||
# Re-run pub get after copying source to ensure lockfile consistency
|
||||
RUN flutter pub get
|
||||
|
||||
# Build web application (Debug mode for better error messages)
|
||||
RUN flutter build web --debug --verbose
|
||||
# Build web application (CanvasKit renderer is now default)
|
||||
RUN flutter build web --release --base-href="/" --verbose
|
||||
|
||||
# ============================================
|
||||
# Stage 2: Serve with dhttpd (Dart HTTP server)
|
||||
|
||||
Reference in new issue
Block a user