fix: 換用 node:20 完整版(內建 git,不需要 apt-get)
This commit is contained in:
+1
-6
@@ -1,9 +1,4 @@
|
|||||||
FROM node:20-slim
|
FROM node:20
|
||||||
|
|
||||||
# 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/*
|
|
||||||
|
|
||||||
WORKDIR /action
|
WORKDIR /action
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user