Skip to content

Commit

Permalink
simplify Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed Jan 15, 2025
1 parent 13282e4 commit 83809b3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,17 @@ RUN mamba install --yes --channel conda-forge \
# install PyPEEC (no-deps as everything required has been installed)
RUN mamba install --yes --no-deps --channel conda-forge pypeec

# clean mamba and fix permissions
# clean conda data
RUN mamba clean --all --force-pkgs-dirs --yes
RUN fix-permissions "${CONDA_DIR}"
RUN fix-permissions "${HOME}"

# fix permissions
RUN fix-permissions "${CONDA_DIR}" && fix-permissions "${HOME}"

# extract the PyPEEC examples
RUN pypeec examples .

# clean the workspace
RUN rm -rf *.py
RUN rm -rf *.sh
RUN rm -rf work
RUN rm -rf *.py *.sh work

# allow Jupyter to display VTK graphics
ENV PYVISTA_TRAME_SERVER_PROXY_PREFIX="/proxy/"
Expand Down

0 comments on commit 83809b3

Please sign in to comment.