my Dockerfile

node-base Dockerfile

 

FROM        ubuntu

MAINTAINER  yiliang Yang, ysuyyl@126.com 

# INSTALL OS DEPENDENCIES AND NODE.JS

RUN apt-get update && apt-get upgrade

RUN apt-get install python-software-properties python g++ make software-properties-common

RUN add-apt-repository ppa:chris-lea/node.js && apt-get update

RUN apt-get install nodejs

 

mockserver Dockerfile

FROM        yyldocker/node-base:v1

 

# COMMIT APP FILES

ADD         . /root/mockserver/

RUN         cd /root/mockserver/ && npm install

CMD cd /root/mockserver/ && npm start

posted @ 2016-04-18 18:30  杨博客  阅读(188)  评论(0编辑  收藏  举报