Authored by jimi.ji

add docker

... ... @@ -15,15 +15,22 @@ ENV NODE_ENV production
ENV NODE_HOME /home/static-ci
RUN mkdir -p "$NODE_HOME"
#RUN set -x \
# && yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel -y \
# && yum install git-core
WORKDIR $NODE_HOME
COPY static-ci.tar.gz "$(NODE_HOME)"
COPY static-ci.tar.gz /home/static-ci/
RUN set -x \
&& mkdir -p /Data/logs/node/static-ci \
&& tar -xzvf static-ci.tar.gz -C "$NODE_HOME" \
&& rm -rf static-ci.tar.gz
#expose port
EXPOSE 6006
... ...