aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-11 16:17:42 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-11 16:17:42 +0530
commitd539597dab80833389797cff73a7b157abd33fe7 (patch)
tree5cbdea73f17706d5259b5cfbcf85484a33700336
parent17307d8351c504323f527dcc91395f54188343ec (diff)
cloning source from plip fork
-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"]