jatin-tec commited on
Commit
ca0e765
1 Parent(s): 3728629

updated dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -15,5 +15,6 @@ RUN pip install --timeout=100000 -r requirements.txt
15
 
16
  ENV MPLCONFIGDIR=/usr/src/app/.config/matplotlib
17
  RUN mkdir -p /usr/src/app/.config/matplotlib
 
18
 
19
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
15
 
16
  ENV MPLCONFIGDIR=/usr/src/app/.config/matplotlib
17
  RUN mkdir -p /usr/src/app/.config/matplotlib
18
+ RUN chmod -R 777 /usr/src/app/.config/matplotlib
19
 
20
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -107,4 +107,4 @@ uvicorn==0.21.1
107
  websockets==11.0.1
108
  Werkzeug==2.2.3
109
  wrapt==1.14.1
110
- yarl==1.8.2
 
107
  websockets==11.0.1
108
  Werkzeug==2.2.3
109
  wrapt==1.14.1
110
+ yarl==1.8.2