From 8aef35c547df9b4a4ad7b36aa4b507dc862970f8 Mon Sep 17 00:00:00 2001 From: ange Date: Sat, 9 Nov 2024 13:10:47 +0800 Subject: [PATCH] feat: reduce cache to make image smaller --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 088f102..bf6b75d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN sdkmanager \ "cmdline-tools;9.0" \ "platform-tools;35.0.2" \ "platforms;android-35" -COPY --from=build --chown=app:app /opt/ /opt/ +COPY --from=build --chown=app:app --exclude=cache /opt/ /opt/ USER app ENV PATH="/opt/flutter/bin:$PATH" -RUN flutter doctor -v +RUN flutter doctor