Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
1c4d2c71
Commit
1c4d2c71
authored
Oct 29, 2021
by
Marta
Browse files
add resources to dockerfile + .dockerignore
parent
f86fc334
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
.dockerignore
.dockerignore
+4
-0
Dockerfile
Dockerfile
+13
-0
No files found.
.dockerignore
0 → 100644
View file @
1c4d2c71
lightning_logs
**/__pycache__
lib/conda
**/*egg-info
Dockerfile
View file @
1c4d2c71
...
@@ -3,9 +3,22 @@ ARG IMAGE_NAME=nvcr.io/nvidia/pytorch:21.06-py3
...
@@ -3,9 +3,22 @@ ARG IMAGE_NAME=nvcr.io/nvidia/pytorch:21.06-py3
FROM
${IMAGE_NAME} AS base
FROM
${IMAGE_NAME} AS base
ENV
DEBIAN_FRONTEND=noninteractive
ENV
DEBIAN_FRONTEND=noninteractive
RUN
apt update
&&
\
apt
install
-y
aria2
COPY
. /workspace/openfold
COPY
. /workspace/openfold
WORKDIR
/workspace/openfold
WORKDIR
/workspace/openfold
RUN
pip
install
-r
requirements_minimal.txt
RUN
pip
install
-r
requirements_minimal.txt
RUN
python setup.py
install
RUN
python setup.py
install
# TODO add all dependencies needed for inference
RUN
wget
-q
-P
openfold/resources
\
https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt
&&
\
mkdir
-p
tests/test_data/alphafold/common
&&
\
ln
-rs
openfold/resources/stereo_chemical_props.txt tests/test_data/alphafold/common
RUN
scripts/download_alphafold_params.sh openfold/resources
RUN
gunzip
tests/test_data/sample_feats.pickle.gz
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment