chore: Stop explicitly copying pubspec.lock as flutter pub get generates it.

This commit is contained in:
Michael committed 2025-12-05 18:44:45 +01:00
1 parent 154e2b2246
commit 5943cd9587
9 files changed
+97 -9

No files matched your search

+3 -2
View File
@@ -14,9 +14,10 @@ RUN git config --global --add safe.directory /app
RUN flutter config --enable-web
# Copy dependency files first for better caching
COPY pubspec.yaml pubspec.lock ./
# Note: pubspec.lock will be generated by flutter pub get if missing
COPY pubspec.yaml ./
# Get dependencies
# Get dependencies (generates pubspec.lock automatically)
RUN flutter pub get
# Copy source code