diff --git a/Dockerfile b/Dockerfile index 68cca64..74269c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,11 @@ FROM ubuntu:latest - + +# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小 +RUN apt update \ + && apt install -y curl \ + && apt clean \ + && rm -rf /var/lib/apt/lists/* + COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh