Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ajz34 committed Feb 23, 2024
1 parent 0ba7763 commit ccfa9db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
17 changes: 1 addition & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM python:3.8-slim

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -yq dist-upgrade && \
apt-get install -yq --no-install-recommends git && \
apt-get install -yq --no-install-recommends git gcc && \
rm -rf /var/lib/apt/lists/*

ENV WRK_DIR "/work"
Expand All @@ -19,21 +19,6 @@ RUN cd $PKG_DIR/ && git checkout --force origin/legacy
RUN cp $PKG_DIR/.pyscf_conf.py ~/.pyscf_conf.py

RUN pip --no-cache-dir install -r $PKG_DIR/requirements.txt
RUN pip --no-cache-dir install -r $PKG_DIR/docs/requirements.yml
RUN pip --no-cache-dir install jupyter_contrib_nbextensions
RUN jupyter contrib nbextension install
RUN for extension in \
nbextensions_configurator/config_menu/main \
hide_input/main \
scratchpad/main \
collapsible_headings/main \
toc2/main \
nbextensions_configurator/tree_tab/main \
codefolding/edit \
jupyter-js-widgets/extension; \
do jupyter nbextension enable $extension --sys-prefix; done
RUN mkdir -p ~/.jupyter/custom && \
echo ".container { width:85%; }" > ~/.jupyter/custom/custom.css

ENV PYTHONPATH $PKG_DIR:$PYTHONPATH

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ sphinx_rtd_theme
sphinxcontrib-bibtex
jupyter_contrib_nbextensions
pandoc
matplotlib
docopt
codecov
pytest-cov

0 comments on commit ccfa9db

Please sign in to comment.