Commit e1d25dbe authored by daidekun's avatar daidekun

prject

parent b16c7c36
......@@ -11,14 +11,14 @@ ENV BRANCH_NAME=$BRANCH_NAME
USER root
WORKDIR /home/quant_group
RUN mkdir ${SYSTEM_NAME}
RUN mkdir project
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
EXPOSE 22
COPY docker-entrypoint.sh .
COPY *.tgz ./${SYSTEM_NAME}/dist.tgz
COPY *.tgz ./project/dist.tgz
RUN chmod +x ./docker-entrypoint.sh
RUN npm install -g forever
......
#!/bin/sh
echo "deploy node"
package_path="/home/quant_group/${SYSTEM_NAME}"
package_path="/home/quant_group/project"
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