Skip to content

Commit

Permalink
Issue #0 chore : sleep 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Manojvv committed Nov 15, 2017
1 parent cb76efa commit 407e0f0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ RUN apk update \
#ENV sunbird_learnerstate_actor_port 8088
COPY ./service/target/learning-service-1.0-SNAPSHOT-dist.zip /home/sunbird/learner/
RUN unzip /home/sunbird/learner/learning-service-1.0-SNAPSHOT-dist.zip -d /home/sunbird/learner/
COPY docker-entrypoint.sh /home/sunbird/learner/
RUN chown -R sunbird:sunbird /home/sunbird
#WORKDIR /home/sunbird/learner/
#RUN mkdir -p /home/sunbird/learner/logs/
#RUN touch /home/sunbird/learner/logs/learningServiceProject.log
ENTRYPOINT ["/home/sunbird/learner/docker-entrypoint.sh"]
USER sunbird
WORKDIR /home/sunbird/learner/
RUN mkdir -p /home/sunbird/learner/logs/
RUN touch /home/sunbird/learner/logs/learningServiceProject.log
RUN ln -sf /dev/stdout /home/sunbird/learner/logs/learningServiceProject.log
CMD java -cp '/home/sunbird/learner/learning-service-1.0-SNAPSHOT/lib/*' play.core.server.ProdServerStart /home/sunbird/learner/learning-service-1.0-SNAPSHOT

0 comments on commit 407e0f0

Please sign in to comment.