Skip to content

Commit

Permalink
fixing dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Oct 1, 2024
1 parent 3789a90 commit 8bd8b6f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -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/*
Expand Down

0 comments on commit 8bd8b6f

Please sign in to comment.