# 基于centos7
FROM openresty/openresty:1.13.6.2-centos

RUN yum -y install epel-release \
  && yum -y install python-pip

WORKDIR /home/quant_group

# 加入测试工具集
COPY qa-replace .

RUN pip install -r requirements.txt \
  && yum clean all

  #  拷贝nginx配置
COPY lua/*.lua /etc/nginx/lua/
ARG CONFIG=default.conf
COPY conf/nginx.conf /usr/local/openresty/nginx/conf/
COPY conf/${CONFIG} /etc/nginx/conf.d/



# COPY docker-entrypoint.sh ./
# CMD ./docker-entrypoint.sh

