forked from aurekaresearch/OpenDDE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
52 lines (43 loc) · 1.49 KB
/
Copy pathDockerfile
File metadata and controls
52 lines (43 loc) · 1.49 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM nvidia/cuda:12.6.3-cudnn-devel-ubuntu24.04
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
LABEL org.opencontainers.image.title="OpenDDE" \
org.opencontainers.image.description="Open-source all-atom biomolecular structure prediction" \
org.opencontainers.image.source="https://github.com/aurekaresearch/OpenDDE" \
org.opencontainers.image.url="https://github.com/aurekaresearch/OpenDDE" \
org.opencontainers.image.documentation="https://github.com/aurekaresearch/OpenDDE/tree/main/docs" \
org.opencontainers.image.licenses="Apache-2.0"
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
UV_COMPILE_BYTECODE=1 \
UV_LINK_MODE=copy \
UV_SYSTEM_PYTHON=1 \
UV_BREAK_SYSTEM_PACKAGES=1 \
OPENDDE_ROOT_DIR=/opendde_data
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
git \
hmmer \
kalign \
libglib2.0-0 \
libgl1 \
libxrender1 \
pkg-config \
python-is-python3 \
python3 \
python3-dev \
tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
WORKDIR /app
COPY . .
RUN uv pip install --no-cache --system --break-system-packages \
--torch-backend cu126 ".[gpu]" && \
opendde --help >/dev/null
VOLUME ["/opendde_data"]
CMD ["opendde", "--help"]