feat: reduce cache to make image smaller
Some checks failed
/ build (push) Failing after 3s

This commit is contained in:
ange 2024-11-09 13:10:47 +08:00
parent c82efdf496
commit 8aef35c547
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -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