Skip to content
Permalink
Browse files

Merge pull request #93 from kmehant/master

Optimize the Dockerfile
  • Loading branch information...
agentmilindu committed Dec 10, 2017
2 parents 4c74d40 + 4a5b1d6 commit 2664307a9a4924c47f487d2c62b603a5fa449923
Showing with 5 additions and 6 deletions.
  1. +5 −6 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

0 comments on commit 2664307

Please sign in to comment.
You can’t perform that action at this time.