fix: 換用 node:20 完整版(內建 git,不需要 apt-get)

This commit is contained in:
2026-05-11 10:24:24 +00:00
parent d9c55ca347
commit af51ffacee
+1 -6
View File
@@ -1,9 +1,4 @@
FROM node:20-slim
# force rebuild to ensure git is installed
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*
FROM node:20
WORKDIR /action