abidlabs HF staff commited on
Commit
696bc14
1 Parent(s): e5b74b0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -6,7 +6,8 @@ WORKDIR /code
6
  COPY . .
7
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
- RUN chmod -R 666 gradio_cached_examples
 
10
 
11
  ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
12
 
 
6
  COPY . .
7
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
+ RUN mkdir -m 700 flagged
10
+ RUN mkdir -m 700 gradio_cached_examples
11
 
12
  ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
13