rairo commited on
Commit
2318824
1 Parent(s): fb1ff00

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -20,6 +20,13 @@ RUN pip install --no-cache-dir -r ./requirements.txt
20
 
21
  COPY --chown=user . $HOME/app
22
 
 
 
 
 
 
 
 
23
  #ENTRYPOINT ["gunicorn", "main:app"]
24
 
25
  #ENV GUNICORN_TIMEOUT 300
 
20
 
21
  COPY --chown=user . $HOME/app
22
 
23
+ ### Update permissions for the app
24
+ USER root
25
+
26
+ RUN chmod 777 ~/app/*
27
+
28
+ USER user
29
+
30
  #ENTRYPOINT ["gunicorn", "main:app"]
31
 
32
  #ENV GUNICORN_TIMEOUT 300