FROM registry.cn-chengdu.aliyuncs.com/infish/alpine # https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc RUN echo -e https://mirrors.ustc.edu.cn/alpine/v3.15/main > /etc/apk/repositories \ && cat /etc/apk/repositories \ # 设置时区为上海 && apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone \ && apk del tzdata \ && mkdir -p /root/queentree WORKDIR /root/queentree ADD ./app.yaml ./app.yaml ADD ./tree-service ./tree-service EXPOSE 8902 ENTRYPOINT ["./tree-service"]