Commit 6d7abcdd by 蒋勇

modi docker

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