Commit 9e1bedb1 authored by kalvin's avatar kalvin

优化node打包

parent 4af504e8
......@@ -5,18 +5,11 @@ WORKDIR /home/quant_group
RUN mkdir project;mkdir logs
ENV NODE_ENV=test
ARG BUILD_NUMBER
ARG SYSTEM_NAME
ARG BRANCH_NAME
ARG BUILD_TIME
ENV BUILD_NUMBER=$BUILD_NUMBER
ENV SYSTEM_NAME=$SYSTEM_NAME
ENV BRANCH_NAME=$BRANCH_NAME
ENV BUILD_TIME=$BUILD_TIME
RUN echo "BUILD_TIME: ${BUILD_TIME} ,BUILD_NUMBER: ${BUILD_NUMBER},SYSTEM_NAME: ${SYSTEM_NAME},BRANCH_NAME: ${BRANCH_NAME}" >> ./build_info
ARG BUILD_SCHEMA
ENV BUILD_SCHEMA=$BUILD_SCHEMA
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info
COPY docker-entrypoint.sh .
COPY *.tgz ./project/dist.tgz
......
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