Commit b16c7c36 authored by daidekun's avatar daidekun

try

parent 7447b8fe
......@@ -11,16 +11,14 @@ ENV BRANCH_NAME=$BRANCH_NAME
USER root
WORKDIR /home/quant_group
RUN mkdir project
RUN mkdir ${SYSTEM_NAME}
RUN mkdir logs
RUN echo "BUILD_NUMBER: ${BUILD_NUMBER},SYSTEM_NAME: ${SYSTEM_NAME},BRANCH_NAME: ${BRANCH_NAME}" >> ./build_info
EXPOSE 22 80 3000 5005 9001
COPY docker-entrypoint.sh .
COPY *.tgz ./project/dist.tgz
ENV NODE_ENV test
COPY *.tgz ./${SYSTEM_NAME}/dist.tgz
RUN chmod +x ./docker-entrypoint.sh
RUN npm install -g forever
......
#!/bin/sh
echo "deploy node"
package_path="/home/quant_group/project"
package_path="/home/quant_group/${SYSTEM_NAME}"
echo "cd ${package_path}"
cd ${package_path}
......
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