diff --git a/Dockerfile b/Dockerfile index 73be0bb8..87d47733 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ RUN \ apt install -y gcc && \ ## Create the environment and install the dependencies mamba env create -f /home/deeprank2/deeprank2-docker.yml && \ + ## Activate the environment and install pip packages + /opt/conda/bin/conda run -n deeprank2 pip install -r /home/deeprank2/requirements-docker.txt && \ ## Activate the environment automatically when entering the container echo "source activate deeprank2" >~/.bashrc && \ # Get the data for running the tutorials diff --git a/env/deeprank2-docker.yml b/env/deeprank2-docker.yml index 3b49f806..e73ab82d 100644 --- a/env/deeprank2-docker.yml +++ b/env/deeprank2-docker.yml @@ -41,5 +41,3 @@ dependencies: - ruff>=0.3.0 - dill>=0.3.8 - pyarrow>=15.0.0 - - pip: - - --requirement requirements-docker.txt