Permalink
Browse files

update Dockerfile to run detached with supervisor in non daemon mode

  • Loading branch information...
jeffbryner committed Nov 23, 2016
1 parent ce14a8e commit cf7ce6fc11614382d2b71b34309c4b994615abfe
Showing with 4 additions and 2 deletions.
  1. +4 −2 docker/Dockerfile
View
@@ -30,6 +30,7 @@ ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LC_CTYPE en_US.UTF-8
ENV HOME /root
RUN apt-get install -q -y openjdk-7-jre
@@ -113,6 +114,7 @@ EXPOSE 8081
# CLEAN
RUN apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
# Launch rabbit and sleep 10s for it to start
#CMD /etc/init.d/rabbitmq-server start && sleep 10 && /usr/bin/supervisord
# Launch
ENTRYPOINT exec service supervisor start

0 comments on commit cf7ce6f

Please sign in to comment.