Skip to content

Commit

Permalink
fix: updating docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Nov 10, 2021
1 parent 15fcaa8 commit ff2becd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN conda install -c conda-forge folium
RUN pip install ipyfilechooser
RUN jupyter nbextension enable --py --sys-prefix ipyleaflet
RUN pip install lavavu-osmesa
COPY LoopStructural LoopStructural
RUN pip install LoopStructural

ENV NB_USER jovyan
ENV NB_UID 1000
Expand All @@ -25,10 +27,9 @@ RUN adduser --disabled-password \
--uid ${NB_UID} \
${NB_USER}
WORKDIR ${HOME}

USER ${NB_USER}

RUN mkdir notebooks
RUN mkdir LoopStructural

USER root
RUN chown -R ${NB_UID} ${HOME}
Expand All @@ -46,7 +47,7 @@ ENTRYPOINT ["/tini", "--"]
USER ${NB_USER}

RUN mkdir notebooks

WORKDIR notebooks
# RUN pip install -e LoopStructural
CMD ["jupyter", "notebook", "--ip='0.0.0.0'", "--NotebookApp.token=''", "--no-browser" ]

Expand Down

0 comments on commit ff2becd

Please sign in to comment.