mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-20 05:28:05 +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
f0286a3498
commit
3cd8e3dd52
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