imseldrith commited on
Commit
52f7011
1 Parent(s): d7fa89a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -10,7 +10,9 @@ COPY . ./
10
  ENV GOOGLE_APPLICATION_CREDENTIALS "./token.json"
11
 
12
  RUN chmod u+w static/uploaded_videos/ \
13
- && chown -R 1000:1000 static/uploaded_videos/
 
 
14
 
15
  RUN apt-get update && apt-get install -y \
16
  libglib2.0-0 \
@@ -25,4 +27,4 @@ RUN pip install -r requirements.txt
25
  # webserver, with one worker process and 8 threads.
26
  # For environments with multiple CPU cores, increase the number of workers
27
  # to be equal to the cores available.
28
- CMD exec gunicorn --bind 0.0.0.0:7860 --workers 1 --threads 8 --timeout 0 app:app
 
10
  ENV GOOGLE_APPLICATION_CREDENTIALS "./token.json"
11
 
12
  RUN chmod u+w static/uploaded_videos/ \
13
+ && chown -R 1000:1000 static/uploaded_videos/ \
14
+ && chmod u+w static/cartoonized_images/ \
15
+ && chown -R 1000:1000 static/cartoonized_images/
16
 
17
  RUN apt-get update && apt-get install -y \
18
  libglib2.0-0 \
 
27
  # webserver, with one worker process and 8 threads.
28
  # For environments with multiple CPU cores, increase the number of workers
29
  # to be equal to the cores available.
30
+ CMD exec gunicorn --bind 0.0.0.0:7860 --workers 1 --threads 8 --timeout 0 app:app