feat: 移除 entrypoint 的 /r

This commit is contained in:
Jeffery
2026-03-20 16:03:06 +08:00
parent 66b143f3f7
commit ed3de05b12

View File

@@ -2,10 +2,10 @@ FROM alpine:latest
# 更新並安裝必要的工具 # 更新並安裝必要的工具
RUN apk update \ RUN apk update \
&& apk add --no-cache curl jq bash && apk add --no-cache curl jq
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN sed -i 's/\r//' /entrypoint.sh && chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]