build(docker): optimize image build workflow

This commit is contained in:
2026-07-07 10:59:38 +08:00
parent c0d20e650b
commit ed0ed99450
6 changed files with 74 additions and 25 deletions
@@ -0,0 +1,16 @@
FROM node:24-bookworm
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash \
ca-certificates \
curl \
docker.io \
git \
openssh-client \
&& rm -rf /var/lib/apt/lists/*
RUN corepack enable \
&& corepack prepare pnpm@10.30.3 --activate
CMD ["bash"]