feat: update Dockerfile to run flutter pub get and build Flutter web app with HTML renderer.

This commit is contained in:
Michael committed 2025-12-05 10:59:52 +01:00
1 parent bbac00f808
commit 47dbf34254
1 file changed
+3 -1
+3 -1
View File
@@ -22,8 +22,10 @@ RUN flutter pub get
# Copy source code
COPY . .
# Re-run pub get after copying source to ensure lockfile consistency
RUN flutter pub get
# Build web application (HTML renderer for compatibility)
RUN dart run build_runner build --delete-conflicting-outputs
RUN flutter build web --release --web-renderer html
# ============================================