Rauhan commited on
Commit
a582cb0
·
1 Parent(s): 7be401e

UPDATE: New Endpoints

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,5 @@
1
  FROM python:3.10-slim
2
 
3
- ENV HOME /app
4
-
5
  WORKDIR /app
6
 
7
  COPY . /app
@@ -26,6 +24,8 @@ RUN pip install --no-cache-dir -r requirements.txt
26
 
27
  RUN python -m nltk.downloader -d /app/nltk_data all
28
 
 
 
29
  EXPOSE 7860
30
 
31
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.10-slim
2
 
 
 
3
  WORKDIR /app
4
 
5
  COPY . /app
 
24
 
25
  RUN python -m nltk.downloader -d /app/nltk_data all
26
 
27
+ RUN chmod -R 777 /.paddleocr
28
+
29
  EXPOSE 7860
30
 
31
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]