Skip to content

Commit

Permalink
change requirements and dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ajz34 committed Feb 23, 2024
1 parent f598fac commit 0ba7763
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://hub.docker.com/r/jupyter/base-notebook/dockerfile

FROM python:3.7-slim
FROM python:3.8-slim

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -yq dist-upgrade && \
Expand All @@ -13,9 +13,10 @@ ENV PKG_DIR="$WRK_DIR/pyxdh"
RUN mkdir $WRK_DIR
WORKDIR $WRK_DIR

RUN mkdir -p $PKG_DIR && \
git clone https://github.com/ajz34/Py_xDH.git $PKG_DIR && \
cp $PKG_DIR/.pyscf_conf.py ~/.pyscf_conf.py
RUN mkdir -p $PKG_DIR
RUN git clone https://github.com/ajz34/Py_xDH.git $PKG_DIR
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
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
pyscf==2.5.0
pyscf==1.7.5
h5py==3.0
scipy==1.4.1
numpy==1.18
opt_einsum
jupyter
sphinx
Expand Down

0 comments on commit 0ba7763

Please sign in to comment.