Skip to content

Commit

Permalink
Merge pull request #59 from yandex/fix_docker_build2
Browse files Browse the repository at this point in the history
Fix docker build2
  • Loading branch information
Likhomanenko Tatiana committed Feb 2, 2016
2 parents a67a24a + 663ba2f commit 3c25ef5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ci/Dockerfile.rep
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ RUN apt-get update && \
RUN mkdir /notebooks && \
mkdir /etc_external

RUN /bin/bash --login -c " \
git clone https://github.com/damianavila/RISE.git && \
cd RISE && \
python setup.py install \
"

RUN /bin/bash --login -c " \
jupyter notebook -y --generate-config &&\
/bin/echo -e \"\
Expand All @@ -48,6 +42,13 @@ c.NotebookApp.open_browser = False \n\
c.NotebookApp.port = $PORT_JUPYTER \n \" \
| tee -a $HOME/.jupyter/jupyter_notebook_config.py \
"

RUN /bin/bash --login -c " \
git clone https://github.com/damianavila/RISE.git && \
cd RISE && \
python setup.py install \
"

VOLUME ["/notebooks", "/etc_external"]
EXPOSE $PORT_JUPYTER
CMD ["/bin/bash", "--login", "-c", "./start.sh"]

0 comments on commit 3c25ef5

Please sign in to comment.