Commit 4e4e2803 by 蒋勇

jiaxiya docker

parent 775547c5
...@@ -3,7 +3,8 @@ FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2 ...@@ -3,7 +3,8 @@ FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2
MAINTAINER jy "jiangyong@gongsibao.com" MAINTAINER jy "jiangyong@gongsibao.com"
ADD jiaxiya /apps/jiaxiya/ ADD jiaxiya /apps/jiaxiya/
WORKDIR /apps/jiaxiya/ WORKDIR /apps/jiaxiya/
RUN cnpm install -S RUN yum install gcc-c++.x86_64 -y
RUN npm install --unsafe-perm=true --allow-root
CMD ["node","/apps/jiaxiya/main.js"] CMD ["node","/apps/jiaxiya/main.js"]
......
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