fix(action image): 安裝 git 供前置遠端驗證使用

This commit is contained in:
2026-06-25 15:17:51 +00:00
parent a4a0f75ebc
commit afec5a9387
3 changed files with 15 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
FROM alpine:latest
# 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash nodejs npm
RUN apk add --no-cache --no-check-certificate bash git nodejs npm
COPY ./app /app
RUN cd /app && npm install
@@ -9,4 +9,4 @@ RUN cd /app && npm install
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]