添加curl,用于健康度监控

This commit is contained in:
wcx 2024-08-17 15:33:41 +08:00
parent 669316fc8c
commit ab98c21748

View File

@ -1,5 +1,6 @@
FROM alpine:latest
RUN sed -i 's@dl-cdn.alpinelinux.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apk/repositories \
&& apk add --no-cache nginx
&& apk add --no-cache nginx \
&& apk add --no-cache curl
CMD ["nginx", "-g", "daemon off;"]