Dockerfile 911 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/nodejs:8.9.1
FROM ccr.ccs.tencentyun.com/yoho-base/nodejs:8.9.1

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

ENV NODE_ENV=production \
	NODE_HOME=/home

COPY ufo-data-platform.tar.gz /home

RUN cd /home && \
	mkdir -p /home/ufo-data-platform && \
	mkdir -p /Data/log/ufo-data-platform && \
	tar -xzf ufo-data-platform.tar.gz -C /home/ufo-data-platform && \
	rm -rf ufo-data-platform.tar.gz

WORKDIR /home/ufo-data-platform

#expose port
EXPOSE 6013

CMD ["node","/home/ufo-data-platform/server/app.js"]