diff --git a/Dockerfile b/Dockerfile index 4f7f3c0..5ad1c72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ -FROM ubuntu:latest +FROM alpine:latest -# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小 -RUN apt update \ - && apt install -y curl jq unzip \ - && rm -rf /var/lib/apt/lists/* +# 更新並安裝必要的工具 +RUN apk update \ + && apk add --no-cache curl jq bash COPY entrypoint.sh /entrypoint.sh