Commit 9ff90a95 by 曹玉玺

更新docker

parent f7d0e922
#!/bin/bash #!/bin/bash
FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2 #FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2
FROM registry.cn-beijing.aliyuncs.com/hantang2/imgshare:80.2.232
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 -y #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