Showing
1 changed file
with
8 additions
and
1 deletions
@@ -15,15 +15,22 @@ ENV NODE_ENV production | @@ -15,15 +15,22 @@ ENV NODE_ENV production | ||
15 | ENV NODE_HOME /home/static-ci | 15 | ENV NODE_HOME /home/static-ci |
16 | RUN mkdir -p "$NODE_HOME" | 16 | RUN mkdir -p "$NODE_HOME" |
17 | 17 | ||
18 | +#RUN set -x \ | ||
19 | +# && yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel -y \ | ||
20 | +# && yum install git-core | ||
21 | + | ||
18 | WORKDIR $NODE_HOME | 22 | WORKDIR $NODE_HOME |
19 | 23 | ||
20 | -COPY static-ci.tar.gz "$(NODE_HOME)" | 24 | +COPY static-ci.tar.gz /home/static-ci/ |
25 | + | ||
21 | 26 | ||
22 | RUN set -x \ | 27 | RUN set -x \ |
23 | && mkdir -p /Data/logs/node/static-ci \ | 28 | && mkdir -p /Data/logs/node/static-ci \ |
24 | && tar -xzvf static-ci.tar.gz -C "$NODE_HOME" \ | 29 | && tar -xzvf static-ci.tar.gz -C "$NODE_HOME" \ |
25 | && rm -rf static-ci.tar.gz | 30 | && rm -rf static-ci.tar.gz |
26 | 31 | ||
32 | + | ||
33 | + | ||
27 | #expose port | 34 | #expose port |
28 | EXPOSE 6006 | 35 | EXPOSE 6006 |
29 | 36 |
-
Please register or login to post a comment