jpwahle commited on
Commit
ba92a3e
1 Parent(s): 0ec75e9

Update permissions on Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -7,6 +7,9 @@ USER root
7
  # Create necessary directories for Grobid
8
  RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
9
 
 
 
 
10
  # Install supervisord and python (for gradio)
11
  RUN apt-get update && apt-get install -y supervisor python3 python3-pip && rm -rf /var/lib/apt/lists/*
12
 
 
7
  # Create necessary directories for Grobid
8
  RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
9
 
10
+ # Give permissions to the default supervisord log directory
11
+ RUN mkdir -p /var/log/supervisor && chmod -R 777 /var/log/supervisor
12
+
13
  # Install supervisord and python (for gradio)
14
  RUN apt-get update && apt-get install -y supervisor python3 python3-pip && rm -rf /var/lib/apt/lists/*
15