jpwahle commited on
Commit
46b5cd6
1 Parent(s): c024b45

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -25,6 +25,12 @@ RUN pip3 install -r /app/requirements.txt
25
  RUN echo "[supervisord]" > /etc/supervisor/conf.d/supervisord.conf && \
26
  echo "nodaemon=true" >> /etc/supervisor/conf.d/supervisord.conf && \
27
  echo "" >> /etc/supervisor/conf.d/supervisord.conf && \
 
 
 
 
 
 
28
  echo "[program:grobid]" >> /etc/supervisor/conf.d/supervisord.conf && \
29
  echo "command=/opt/grobid/grobid-service/bin/grobid-service" >> /etc/supervisor/conf.d/supervisord.conf && \
30
  echo "" >> /etc/supervisor/conf.d/supervisord.conf && \
 
25
  RUN echo "[supervisord]" > /etc/supervisor/conf.d/supervisord.conf && \
26
  echo "nodaemon=true" >> /etc/supervisor/conf.d/supervisord.conf && \
27
  echo "" >> /etc/supervisor/conf.d/supervisord.conf && \
28
+ echo "[rpcinterface:supervisor]" >> /etc/supervisor/conf.d/supervisord.conf && \
29
+ echo "supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface" >> /etc/supervisor/conf.d/supervisord.conf && \
30
+ echo "" >> /etc/supervisor/conf.d/supervisord.conf && \
31
+ echo "[unix_http_server]" >> /etc/supervisor/conf.d/supervisord.conf && \
32
+ echo "file=/tmp/supervisor.sock" >> /etc/supervisor/conf.d/supervisord.conf && \
33
+ echo "" >> /etc/supervisor/conf.d/supervisord.conf && \
34
  echo "[program:grobid]" >> /etc/supervisor/conf.d/supervisord.conf && \
35
  echo "command=/opt/grobid/grobid-service/bin/grobid-service" >> /etc/supervisor/conf.d/supervisord.conf && \
36
  echo "" >> /etc/supervisor/conf.d/supervisord.conf && \