Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #107 from tubone24/fix_test
Browse files Browse the repository at this point in the history
fix docs
  • Loading branch information
tubone24 committed Jul 13, 2019
2 parents e764f63 + b1f63a7 commit c6b1de1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,23 @@ RUN yum install -y \
&& ln -sf /usr/bin/pip3.6 /usr/bin/pip3 \
&& pip3 install --upgrade pip

# setup node.js

RUN yum -y install nodejs npm
RUN npm install -g n
RUN n stable && node -v


# setup ebook-homebrew
RUN mkdir /app
RUN cd /app && git clone https://github.com/tubone24/ebook_homebrew.git && git submodule foreach git pull origin master
RUN cd /app && git clone https://github.com/tubone24/ebook_homebrew.git && cd ebook_homebrew && git submodule update --init --recursive
WORKDIR /app/ebook_homebrew
RUN pip3 install -r requirements.txt
RUN python3 setup.py install

# setup vue client
RUN rm ebook_homebrew/static/index.html
RUN cd examples/ebook-homebrew-vue-client && npm run build
RUN cd examples/ebook-homebrew-vue-client && npm install && npm run build
RUN cp -r examples/ebook-homebrew-vue-client/dist/* ebook_homebrew/static
RUN python3 setup.py install

Expand Down

0 comments on commit c6b1de1

Please sign in to comment.