build(docker): optimize image build workflow
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user