⚡️(backend) clean package manager cache in Docker builds
Remove package manager index caches in Dockerfile to reduce image size and improve deployment speed. Even in multi-stage builds, ensure no unnecessary cache data is stored. Package indexes are redundant for runtime operation and only increase storage, bandwidth, and deployment time.
This commit is contained in:
committed by
aleb_the_flash
parent
9d01dde9e4
commit
459280b384
@@ -62,7 +62,7 @@ FROM base AS core
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
RUN apk add \
|
||||
RUN apk --no-cache add \
|
||||
cairo \
|
||||
gdk-pixbuf \
|
||||
gettext \
|
||||
|
||||
Reference in New Issue
Block a user