forked from pharmai/plip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (24 loc) · 746 Bytes
/
Dockerfile
File metadata and controls
29 lines (24 loc) · 746 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
FROM debian:stable
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 \
pymol \
python3-distutils \
python3-lxml \
python3-openbabel \
python3-pymol; \
apt-get clean && rm -rf /var/lib/apt/lists/*
# copy PLIP source code
WORKDIR /src
ADD plip/ plip/
RUN chmod +x plip/plipcmd.py
ENV 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"]