Skip to content

Commit

Permalink
Merge pull request #834 from AlaricChan/pipeline-testing
Browse files Browse the repository at this point in the history
[RAC-6701] Fix NPM5 build dependency issue
  • Loading branch information
lanchongyizu authored Apr 11, 2018
2 parents fe162f5 + a006ec6 commit f1d5506
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ COPY . /RackHD/on-http/
WORKDIR /RackHD/on-http

RUN mkdir -p ./node_modules \
&& ln -s /RackHD/on-tasks ./node_modules/on-tasks \
&& ln -s /RackHD/on-core ./node_modules/on-core \
&& ln -s /RackHD/on-core/node_modules/di ./node_modules/di \
&& apt-get update \
&& apt-get install -y unzip curl \
&& npm install \
&& npm install apidoc@^0.12.1 \
&& npm install --production \
&& npm run taskdoc \
&& /RackHD/on-http/install-web-ui.sh \
&& /RackHD/on-http/install-swagger-ui.sh \
&& npm prune --production
&& rm -r ./node_modules/on-tasks ./node_modules/on-core ./node_modules/di \
&& ln -s /RackHD/on-tasks ./node_modules/on-tasks \
&& ln -s /RackHD/on-core ./node_modules/on-core \
&& ln -s /RackHD/on-core/node_modules/di ./node_modules/di

EXPOSE 9080 9090
VOLUME /RackHD/on-http/static/http/common
Expand Down

0 comments on commit f1d5506

Please sign in to comment.