Skip to content

Commit

Permalink
Merge pull request #93 from kmehant/master
Browse files Browse the repository at this point in the history
Optimize the Dockerfile
  • Loading branch information
agentmilindu committed Dec 10, 2017
2 parents 4c74d40 + 4a5b1d6 commit 2664307
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
@@ -1,13 +1,12 @@
FROM glassfish
MAINTAINER SCoRe Lab Community <commuity@scorelab.org>

RUN apt-get update
WORKDIR /home/OpenDF

RUN mkdir -p /home/OpenDF
RUN apt-get install git
RUN git clone https://github.com/scorelab/OpenDF.git /home/OpenDF
RUN chmod 755 /home/OpenDF/scripts/setup.sh
RUN /home/OpenDF/scripts/setup.sh
COPY . .

RUN apt-get update \
&& ./scripts/setup.sh

EXPOSE 8080
EXPOSE 4848
Expand Down

0 comments on commit 2664307

Please sign in to comment.