-
Notifications
You must be signed in to change notification settings - Fork 155
/
Dockerfile
33 lines (28 loc) · 832 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
30
31
32
33
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 \
libxrender1 \
libxtst6 \
libxext6 \
libxi6 \
&& 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 .