forked from pharmai/plip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.20.04
More file actions
32 lines (27 loc) 路 784 Bytes
/
Copy pathDockerfile.20.04
File metadata and controls
32 lines (27 loc) 路 784 Bytes
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
FROM ubuntu:20.04 AS builder
LABEL maintainer="PharmAI GmbH <contact@pharm.ai>" \
org.label-schema.name="PLIP: The Protein-Ligand Interaction Profiler" \
org.label-schema.description="https://www.doi.org/10.1093/nar/gkv315"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
git \
libopenbabel-dev \
libopenbabel6 \
pymol \
python3-distutils \
python3-lxml \
python3-openbabel \
python3-pymol \
openbabel
# copy PLIP source code
WORKDIR /src
ADD plip/ plip/
RUN chmod +x plip/plipcmd.py
ENV PYTHONPATH $PYTHONPATH:/src
# execute tests
WORKDIR /src/plip/test
RUN chmod +x run_all_tests.sh
RUN ./run_all_tests.sh
WORKDIR /
# set entry point to plipcmd.py
ENTRYPOINT ["python3", "/src/plip/plipcmd.py"]