blob: bcb710c77fd7dc9ccef868ee273019116a1ae3ac [file] [log] [blame]
刘洪青47205852020-08-14 13:39:30 +08001FROM alpine:latest
2
3# 安装toolkit
4RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
5RUN apk add --update curl && rm -rf /var/cache/apk/*
6
7RUN mkdir -p /root/poa-api-docs
8
9COPY api-docs/ /root/poa-api-docs/
10
11COPY exec.sh /root/poa-api-docs/
12RUN chmod +x /root/poa-api-docs/exec.sh
13
14COPY docker-entrypoint.sh /root/poa-api-docs/
15RUN chmod +x /root/poa-api-docs/docker-entrypoint.sh
16
17ENTRYPOINT ["/root/poa-api-docs/docker-entrypoint.sh"]
18CMD ["app"]