# --------------------------------------------------
# 用途：定義 calculate-version action 的 Docker 執行環境。
# 更新日期：2026/07/11 17:44:33（Asia/Taipei）
# --------------------------------------------------

FROM node:lts-alpine

WORKDIR /action

COPY src/ /action/src/
COPY entrypoint.sh /action/entrypoint.sh

RUN chmod +x /action/entrypoint.sh

ENTRYPOINT ["/action/entrypoint.sh"]
