diff --git a/Dockerfile b/Dockerfile index c333dee..e502105 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN dart pub get # Copy app source code (except anything in .dockerignore) and AOT compile app. COPY . . +RUN dart pub get --offline RUN dart compile exe bin/server.dart -o bin/server # Build minimal serving image from AOT-compiled `/server`