Commit 780d6f02 authored by daidekun's avatar daidekun

project

parent 4664595e
...@@ -11,16 +11,16 @@ ENV BRANCH_NAME=$BRANCH_NAME ...@@ -11,16 +11,16 @@ ENV BRANCH_NAME=$BRANCH_NAME
USER root USER root
WORKDIR /home/quant_group WORKDIR /home/quant_group
RUN mkdir ${SYSTEM_NAME} RUN mkdir project
RUN echo "${BUILD_NUMBER}" >> ./version.txt RUN echo "BUILD_NUMBER: ${BUILD_NUMBER},SYSTEM_NAME: ${SYSTEM_NAME},BRANCH_NAME: ${BRANCH_NAME}" >> ./build_info
EXPOSE 80 EXPOSE 80
COPY docker-entrypoint.sh . COPY docker-entrypoint.sh .
COPY dist.tgz ./${SYSTEM_NAME}/dist.tgz COPY dist.tgz ./project/dist.tgz
COPY default.conf /usr/local/openresty/nginx/conf.d/default.conf COPY default.conf /usr/local/openresty/nginx/conf.d/default.conf
RUN chmod +x ./docker-entrypoint.sh RUN chmod +x ./docker-entrypoint.sh
CMD ./docker-entrypoint.sh ${SYSTEM_NAME} CMD ./docker-entrypoint.sh project
\ No newline at end of file \ No newline at end of file
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