Commit a0937728 authored by 智勇's avatar 智勇

取消多阶段构建

parent bdaf3a38
ARG FROM_IMAGE
FROM ${FROM_IMAGE}
# 基于centos7
FROM ccr.ccs.tencentyun.com/qg-qa/openresty1.13
......@@ -11,6 +8,7 @@ COPY lua/*.lua /usr/local/openresty/nginx/lua/
ARG CONFIG=default.conf
COPY conf/nginx.conf /usr/local/openresty/nginx/conf/
COPY conf/${CONFIG} /usr/local/openresty/nginx/conf/conf.d/
COPY ./*tgz /home/quant_group/
ARG BUILD_SCHEMA
ENV BUILD_SCHEMA=$BUILD_SCHEMA
......@@ -19,8 +17,6 @@ ENV SYSTEM_NAME=$SYSTEM_NAME
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info
COPY --from=0 /code/* /home/quant_group/
COPY readyCheck.sh .
COPY docker-entrypoint.sh .
RUN chmod +x ./docker-entrypoint.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment