From 8bd8b6f85722efaf9ec3c325ba9cef7133a8058b Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Tue, 1 Oct 2024 09:25:35 +0100 Subject: [PATCH] fixing dockerfile --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index de0da53a..bbaea13d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -299,11 +299,12 @@ LABEL description="Bempp Jupyter Lab" WORKDIR /tmp RUN git clone https://github.com/bempp/bempp-cl +RUN cd bempp-cl && git checkout mscroggs/update RUN cd bempp-cl && python3 -m pip install . RUN python3 -m pip install --no-cache-dir jupytext -RUN python3 examples/generate_notebooks.py +RUN python3 bempp-cl/examples/generate_notebooks.py RUN cp -r bempp-cl/examples/notebooks /root/example_notebooks -RUN python3 -m pip uninstall jupytext +RUN python3 -m pip uninstall -y jupytext # Clear /tmp RUN rm -rf /tmp/* @@ -325,11 +326,12 @@ LABEL description="Bempp Jupyter Lab (Numba only)" WORKDIR /tmp RUN git clone https://github.com/bempp/bempp-cl +RUN cd bempp-cl && git checkout mscroggs/update RUN cd bempp-cl && python3 -m pip install . RUN python3 -m pip install --no-cache-dir jupytext -RUN python3 examples/generate_notebooks.py +RUN python3 bempp-cl/examples/generate_notebooks.py RUN cp -r bempp-cl/examples/notebooks /root/example_notebooks -RUN python3 -m pip uninstall jupytext +RUN python3 -m pip uninstall -y jupytext # Clear /tmp RUN rm -rf /tmp/*