Optimize Dockerfile to use `apk add` with `--no-cache` Using the `apk add` command with the `--no-cache` parameter for package installation will prevent the package index from being cached and reduce the image size.

2faaabbf5f6d4e5af82b3a508786877d6c16c878

Peter Dave Hello <hsu@peterdavehello.org>

1 files changed, +1 -1Ignore whitespace
Dockerfile+1 -1
@@ -4,7 +4,7 @@ FROM node:lts-alpine3.19
44ARG APP_HOME=/home/node/app
55
66# Install system dependencies
77RUN apk add --no-cache gcompat tini git
88
99# Create app directory
1010WORKDIR ${APP_HOME}