Merge pull request #14 from R0m1k3/antigravity

build: Configure Dockerfile for Flutter web release build and add the…
This commit is contained in:
LogiFlow authored and GitHub committed 2025-12-06 00:46:12 +01:00
commit 044d859538
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -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)
+5
View File
@@ -1,11 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<base href="$FLUTTER_BASE_HREF">
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="IPTV Web Application">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="XtremFlow">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
@@ -22,14 +24,17 @@
height: 100vh;
font-family: 'Roboto', sans-serif;
}
.loading {
color: #fff;
font-size: 18px;
}
</style>
</head>
<body>
<div class="loading">Loading XtremFlow...</div>
<script src="flutter_bootstrap.js" async></script>
</body>
</html>