Spaces:
Sleeping
Sleeping
Alphin Jain
commited on
Commit
·
a84c727
1
Parent(s):
1faa609
Updated modules
Browse files- Dockerfile +20 -0
Dockerfile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get install -y \
|
| 4 |
+
tesseract-ocr \
|
| 5 |
+
libtesseract-dev \
|
| 6 |
+
tesseract-ocr-hin \
|
| 7 |
+
tesseract-ocr-ara \
|
| 8 |
+
tesseract-ocr-spa \
|
| 9 |
+
tesseract-ocr-chi-sim
|
| 10 |
+
|
| 11 |
+
WORKDIR /app
|
| 12 |
+
|
| 13 |
+
COPY requirements.txt .
|
| 14 |
+
RUN pip install -r requirements.txt
|
| 15 |
+
|
| 16 |
+
COPY . .
|
| 17 |
+
|
| 18 |
+
EXPOSE 8502
|
| 19 |
+
|
| 20 |
+
CMD ["streamlit", "run", "app.py", "--server.port=8502", "--server.address=0.0.0.0"]
|