diff --git a/Dockerfile b/Dockerfile index feafb58..4da031e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ FROM ghcr.io/cirruslabs/flutter:stable AS builder WORKDIR /app # Copy dependency files first for better caching -COPY pubspec.yaml pubspec.lock ./ +COPY pubspec.yaml ./ -# Get dependencies +# Get dependencies (generates pubspec.lock) RUN flutter pub get # Copy the rest of the application