Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaranasou authored May 19, 2020
1 parent 437a2ac commit 205de92
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM openjdk:8
FROM python:3.6

ARG GITLAB_USER
ARG GITLAB_KEY
# necessary:
ARG DB_USER
ARG DB_PASSWORD
Expand Down Expand Up @@ -35,11 +33,11 @@ RUN mkdir app \
&& cd spark-iforest/python \
&& pip install . \
&& cd ../../ \
&& git clone https://$GITLAB_USER:[email protected]/mkaranasou/esretriever.git \
&& git clone https://github.com/equalitie/esretriever.git \
&& cd esretriever \
&& pip install . \
&& cd ../ \
&& git clone --branch $BASKERVILLE_BRANCH https://$GITLAB_USER:[email protected]/deflect/baskerville.git \
&& git clone --branch $BASKERVILLE_BRANCH https://github.com/equalitie/baskerville.git \
&& cd baskerville \
&& pip install .[test] \
&& mkdir src/baskerville/logs \
Expand All @@ -55,4 +53,4 @@ RUN ["chmod", "u+rwx", "app/baskerville/src/baskerville/main.py"]
WORKDIR /app/baskerville/src/baskerville

# metrics port, spark ui ports
EXPOSE 8998 4040 4041
EXPOSE 8998 4040 4041

0 comments on commit 205de92

Please sign in to comment.