@@ -3,34 +3,20 @@ FROM condaforge/mambaforge
33
44# Install requirements
55RUN apt-get update && apt-get install -y wget git
6-
7- # Create environment
8- # Since python 3.10 is already installed in the base image condaforge/mambaforge,
9- # if not specify the python version requirement, python version will has conflict with the openbabel <3.0.
10- #0 23.40 Pinned packages:
11- #0 23.40 - python 3.10.*
12- #0 23.40 The following packages are incompatible
13- #0 23.40 └─ openbabel <3.0 is installable with the potential options
14- #0 23.40 ├─ openbabel 2.4.1 would require
15- #0 23.40 │ └─ python >=2.7,<2.8.0a0 , which can be installed;
16- #0 23.40 ├─ openbabel 2.4.1 would require
17- #0 23.40 │ └─ python >=3.6,<3.7.0a0 , which can be installed;
18- #0 23.40 └─ openbabel 2.4.1 would require
19- #0 23.40 └─ python >=3.7,<3.8.0a0 , which can be installed.
20- # So, explicitly downgrade to python=3.7.*
21- RUN mamba install -c conda-forge "python=3.7.*" "openbabel<3.0" numpy pandas mdtraj biopandas -y
22- RUN pip install -U scikit-learn rdkit-pypi
6+ RUN mamba install -c conda-forge openbabel numpy pandas mdtraj biopandas -y
7+ # model saved required scikit-learn==1.0.2
8+ RUN pip install -U scikit-learn==1.0.2 rdkit-pypi
239
2410# cleanup
2511RUN apt-get clean
2612RUN mamba clean --all --yes
2713RUN pip cache purge
2814
2915# Install OnionNet-SFCT
30- RUN git clone https://github.com/cyangNYU /OnionNet-SFCT.git
16+ RUN git clone https://github.com/misterbrandonwalker /OnionNet-SFCT.git
3117WORKDIR /OnionNet-SFCT
3218
3319# Download models
34- RUN mkdir -p data && cd data && wget https://huggingface.co/cyangNYU/OnionNet-SFCT-final-model/resolve/main/sfct_std_final.model
20+ RUN mkdir -p data && cd data && wget -nv --no-clobber https://huggingface.co/cyangNYU/OnionNet-SFCT-final-model/resolve/main/sfct_std_final.model
3521
3622ADD Dockerfile_onionnet-sfct .
0 commit comments