KZTech commited on
Commit
fa7fa9f
·
verified ·
1 Parent(s): c74917e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -2,7 +2,7 @@ FROM python:3.9-slim
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
- # Install Tesseract OCR and dependencies
6
  RUN apt-get update && apt-get install -y \
7
  tesseract-ocr \
8
  libtesseract-dev \
@@ -18,8 +18,7 @@ RUN pip install --no-cache-dir -r requirements.txt
18
  COPY app.py .
19
 
20
  EXPOSE 7860
21
-
22
- # Run Streamlit app
23
  CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
24
 
25
 
 
 
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
+ # Install tesseract and required libraries
6
  RUN apt-get update && apt-get install -y \
7
  tesseract-ocr \
8
  libtesseract-dev \
 
18
  COPY app.py .
19
 
20
  EXPOSE 7860
 
 
21
  CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
22
 
23
 
24
+