FROM alpine:latest | |
# 安装toolkit | |
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories | |
RUN apk add --update curl && rm -rf /var/cache/apk/* | |
RUN mkdir -p /root/poa-api-docs | |
COPY api-docs/ /root/poa-api-docs/ | |
COPY exec.sh /root/poa-api-docs/ | |
RUN chmod +x /root/poa-api-docs/exec.sh | |
COPY docker-entrypoint.sh /root/poa-api-docs/ | |
RUN chmod +x /root/poa-api-docs/docker-entrypoint.sh | |
ENTRYPOINT ["/root/poa-api-docs/docker-entrypoint.sh"] | |
CMD ["app"] |