huacnlee / autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
https://huacnlee.github.io/autocorrect
MIT License
918 stars 34 forks source link

Optimize Dockerfile to use `apk add` with `--no-cache` #200

Closed PeterDaveHello closed 5 months ago

PeterDaveHello commented 5 months ago

Change apk add to use --no-cache instead of --update for package installation. This will prevent the package index from being cached and reduce the image size.