Spaces:
Sleeping
Sleeping
Commit
·
6791a9f
1
Parent(s):
db8472d
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -19,6 +19,7 @@ RUN pip install Flask
|
|
19 |
RUN pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
20 |
RUN pip install easyocr
|
21 |
RUN pip install gunicorn
|
|
|
22 |
|
23 |
|
24 |
CMD ["gunicorn","-b","0.0.0.0:7860", "api:app","--timeout","950"]
|
|
|
19 |
RUN pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
20 |
RUN pip install easyocr
|
21 |
RUN pip install gunicorn
|
22 |
+
RUN pip install -U flask-cors
|
23 |
|
24 |
|
25 |
CMD ["gunicorn","-b","0.0.0.0:7860", "api:app","--timeout","950"]
|