Commit d6840702 authored by Markus Mirz's avatar Markus Mirz
Browse files

restructure python requirements and docker


Former-commit-id: 5bb214b1
parent 1f50467b
......@@ -36,7 +36,7 @@ RUN dnf --refresh -y install \
spdlog-devel \
graphviz-devel \
sundials-devel \
libcimpp16v29a \
libcimpp16v29a \
libvillas-devel-${VILLAS_VERSION} \
villas-node-${VILLAS_VERSION} \
gsl-devel
......@@ -50,7 +50,9 @@ ENV LD_LIBRARY_PATH /usr/local/lib64
ADD requirements.txt .
RUN pip3 install -r requirements.txt
# Remove this part in the future and use dedicated jupyter Dockerfile
# Activate Jupyter extensions
RUN pip3 install -r requirements-jupyter.txt
RUN dnf -y --refresh install npm
RUN jupyter nbextension enable --py widgetsnbextension
RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager
......
# rwthacs/dpsim-dev is built by dpsim-git/Packaging/Docker/Dockerfile.dev
ARG DOCKER_IMAGE=rwthacs/dpsim
ARG DOCKER_TAG=latest
FROM ${DOCKER_IMAGE}:${DOCKER_TAG}
ADD requirements-jupyter.txt .
RUN pip3 install -r requirements-jupyter.txt
# Activate Jupyter extensions
RUN dnf -y --refresh install npm
RUN jupyter nbextension enable --py widgetsnbextension
RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager
EXPOSE 8888
\ No newline at end of file
ipywidgets
jupyter
jupyter_contrib_nbextensions
jupyterlab_widgets
nbconvert
nbformat
jupyter_client
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment