forked from lucidrains/alphafold3-pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (24 loc) · 755 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ARG PYTORCH_TAG=2.3.0-cuda12.1-cudnn8-runtime
FROM pytorch/pytorch:${PYTORCH_TAG}
## Add System Dependencies
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
&& apt-get install --no-install-recommends -y \
build-essential \
git \
wget \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get autoremove -y \
&& apt-get clean
## Install some Python dependencies
RUN python -m pip install --no-cache-dir \
pytest \
requests \
biopandas
## Change working directory
WORKDIR /app/alphafold
## Clone and install the package + requirements
ARG GIT_TAG=main
RUN git clone https://github.com/lucidrains/alphafold3-pytorch . --branch ${GIT_TAG} \
# && git checkout main \
&& python -m pip install .