Dockerfile 710 Bytes
############################################################
# Dockerfile to build hystrix + turbin Installed Containers
# Based on centos 6.7
# How to build new image: docker build -t  yoho-hystrix-qcloud .
# the hystrix alert need to post events to influxdb.yohoops.org.
# nginx version: 1.12.0
############################################################


FROM ccr.ccs.tencentyun.com/yoho-base/node:10.4.1-alpine-fix

MAINTAINER  feng.chen  <feng.chen@yoho.cn>

ENV NODE_ENV=production \
    NODE_HOME=/home

RUN cd /home && \
    mkdir -p /home/xianyu-ufo-app-web

COPY . /home/xianyu-ufo-app-web

WORKDIR /home/xianyu-ufo-app-web

#expose port
EXPOSE 6001

CMD ["node","/home/xianyu-ufo-app-web/app.js"]