feat: Add .dockerignore and configure Dockerfile for Flutter web build with updated base image.

This commit is contained in:
Michael committed 2025-12-05 10:32:15 +01:00
1 parent 92adafd963
commit 1b4e20c418
3 files changed
+29 -2

No files matched your search

+7 -1
View File
@@ -1,10 +1,16 @@
# ============================================
# Stage 1: Build Flutter Web Application
# ============================================
FROM cirrusci/flutter:stable AS builder
FROM ghcr.io/cirruslabs/flutter:stable AS builder
WORKDIR /app
# Safe directory configuration for git
RUN git config --global --add safe.directory /app
# Enable web support (idempotent)
RUN flutter config --enable-web
# Copy dependency files first for better caching
COPY pubspec.yaml pubspec.lock ./