aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 9 insertions, 10 deletions
diff --git a/Dockerfile b/Dockerfile
index f58bc43..5fcfa54 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,19 +19,12 @@ RUN apt-get update && apt-get install -y \
autodock-vina \
pandoc \
texlive-xetex \
+ imagemagick \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
-# copy PLIP source code
+# Download PLIP source code
WORKDIR /src
-COPY 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 /
+RUN git clone https://github.com/navanchauhan/plip /src/plip
# scripts
WORKDIR /src
@@ -39,6 +32,12 @@ COPY scripts/ scripts/
RUN chmod +x /src/scripts/main.sh
RUN python3 -m pip install untangle tabulate
+# execute tests
+WORKDIR /src/plip/test
+RUN chmod +x run_all_tests.sh
+RUN ./run_all_tests.sh
+WORKDIR /src
+
# set entry point to plipcmd.py
#ENTRYPOINT ["python3", "/src/plip/plipcmd.py"]