chore: clean apk cache after installation

This commit is contained in:
Henry
2025-12-10 21:46:52 +00:00
parent 3d942fa768
commit 3904938dc9

View File

@@ -4,8 +4,9 @@ ARG PROJECT=@kan/web
# 1. Alpine image
FROM node:${NODE_VERSION}-alpine AS alpine
RUN apk update
RUN apk add --no-cache libc6-compat python3 make g++
RUN apk update && \
apk add --no-cache libc6-compat python3 make g++ && \
rm -rf /var/cache/apk/* /tmp/*
# Setup pnpm and turbo on the alpine base
FROM alpine AS base