Spaces:
Sleeping
Sleeping
package changes
Browse files- Dockerfile +6 -4
- environment.yml +32 -0
Dockerfile
CHANGED
|
@@ -9,12 +9,14 @@ COPY . .
|
|
| 9 |
# install dependcies
|
| 10 |
# FROM continuumio/miniconda3:4.10.3
|
| 11 |
# RUN conda install -y python=3.9 pandas numpy scikit-learn
|
| 12 |
-
RUN conda install -y python=3.9
|
| 13 |
-
# RUN conda install -y pandas numpy scikit-learn
|
| 14 |
-
|
| 15 |
# RUN pip install --upgrade setuptools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
#if you need to download executable and run them switch to the default non-root user
|
| 20 |
USER user
|
|
|
|
| 9 |
# install dependcies
|
| 10 |
# FROM continuumio/miniconda3:4.10.3
|
| 11 |
# RUN conda install -y python=3.9 pandas numpy scikit-learn
|
| 12 |
+
# RUN conda install -y python=3.9
|
|
|
|
|
|
|
| 13 |
# RUN pip install --upgrade setuptools
|
| 14 |
+
# RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
+
|
| 16 |
+
# Create Conda environment from env.yaml
|
| 17 |
+
RUN conda env create -f env.yaml
|
| 18 |
+
SHELL ["conda", "run", "-n", "dockformer-venv", "/bin/bash", "-c"]
|
| 19 |
|
|
|
|
| 20 |
|
| 21 |
#if you need to download executable and run them switch to the default non-root user
|
| 22 |
USER user
|
environment.yml
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: dockformer-venv
|
| 2 |
+
channels:
|
| 3 |
+
- conda-forge
|
| 4 |
+
- pytorch
|
| 5 |
+
dependencies:
|
| 6 |
+
- python=3.9
|
| 7 |
+
# - libgcc=7.2
|
| 8 |
+
- setuptools=59.5.0
|
| 9 |
+
- pip
|
| 10 |
+
# - openmm=7.7
|
| 11 |
+
# - pdbfixer
|
| 12 |
+
# - cudatoolkit==11.3.*
|
| 13 |
+
- lightning=2.*
|
| 14 |
+
- biopython==1.79
|
| 15 |
+
- numpy==1.21
|
| 16 |
+
- PyYAML==5.4.1
|
| 17 |
+
- requests
|
| 18 |
+
- scipy==1.7
|
| 19 |
+
- tqdm==4.62.2
|
| 20 |
+
- typing-extensions
|
| 21 |
+
- wandb==0.12.21
|
| 22 |
+
- modelcif==0.7
|
| 23 |
+
- awscli
|
| 24 |
+
- ml-collections
|
| 25 |
+
- aria2
|
| 26 |
+
- rdkit==1.21
|
| 27 |
+
- git
|
| 28 |
+
- pytorch::pytorch=2.3.0
|
| 29 |
+
- pip:
|
| 30 |
+
# - torch==2.3.0 --index-url https://download.pytorch.org/whl/cu118
|
| 31 |
+
- dm-tree==0.1.6
|
| 32 |
+
- git+https://github.com/NVIDIA/dllogger.git
|