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 #112 from tubone24/fix_test
Browse files Browse the repository at this point in the history
fix dockerfile
  • Loading branch information
tubone24 committed Jul 13, 2019
2 parents 8039626 + 4d01bb3 commit 4fbc800
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ RUN n stable && node -v

# setup ebook-homebrew
RUN mkdir /app
RUN cd /app && git clone https://github.com/tubone24/ebook_homebrew.git && cd ebook_homebrew && git submodule update --init --recursive
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

# setup vue client
RUN rm ebook_homebrew/static/index.html
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 cd examples/ebook-homebrew-vue-client && npm install
RUN cp -r examples/ebook-homebrew-vue-client/dist/index.html ebook_homebrew/static/
RUN cp -r -P examples/ebook-homebrew-vue-client/dist/ ebook_homebrew/static/static/

# install ebook-homebrew
RUN python3 setup.py install
Expand Down

0 comments on commit 4fbc800

Please sign in to comment.