Dockerfile 731 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
############################################################


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

ENV NODE_ENV=production \
	NODE_HOME=/home

COPY spider-ufo.tar.gz /home

WORKDIR /home

RUN mkdir -p /home/spider-ufo && \
	tar -xf spider-ufo.tar.gz -C /home/spider-ufo && \
	rm -rf spider-ufo.tar.gz

EXPOSE 6001

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