ndelitski / rancher-alarms

Will kick your ass if found unhealthy service in Rancher environment
85 stars 20 forks source link

can you update Dockerfile? #6

Closed ozbillwang closed 8 years ago

ozbillwang commented 8 years ago

Could you please update Dockerfile to show us how your build the image?

ozbillwang commented 8 years ago

Seems it has been pasted here:

https://github.com/ndelitski/rancher-alarms/issues/1#issuecomment-190961900

FROM node:4.2.1

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app/

RUN npm config set http-proxy http://x.x.x.x:8080
RUN npm config set https-proxy http://x.x.x.x:8080
RUN npm install

COPY . /usr/src/app

CMD [ "npm", "start" ]