您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。

13 行
240 B

FROM nginx:alpine
RUN apk --update add curl
HEALTHCHECK \
--interval=2s \
--timeout=2s \
--retries=2 \
CMD curl -s http://localhost/status | grep -q '^alive$'
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["sh", "/entrypoint.sh"]