Authored by jimi.ji

Update Dockerfile

... ... @@ -13,7 +13,9 @@ MAINTAINER xiaoxiao.hao <xiaoxiao.hao@yoho.cn>
ENV NODE_ENV=production \
NODE_HOME=/home
RUN yum install gcc gcc-c++ kernel-devel -y
# COPY turbine configuration files
COPY yoho-seo.tar.gz /home
... ... @@ -22,8 +24,6 @@ RUN cd /home && \
tar -xzvf yoho-seo.tar.gz -C /home/yoho-seo && \
rm -rf yoho-seo.tar.gz
RUN yum install gcc gcc-c++ kernel-devel -y
RUN cd /home/yoho-seo && \
rm -rf node_modules && \
npm i -d --registry http://npm.yohops.com
... ...