rosolsharairh commited on
Commit
b478c08
·
verified ·
1 Parent(s): c5b4c71
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -1,18 +1,14 @@
1
  FROM python:3.10-slim
2
 
3
- # Install Tesseract and language data
4
  RUN apt-get update && apt-get install -y \
5
  tesseract-ocr \
6
  tesseract-ocr-ara \
7
  libglib2.0-0 libsm6 libxext6 libxrender-dev \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
- # Copy project files
11
  WORKDIR /app
12
  COPY . /app
13
 
14
- # Install Python dependencies
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
17
- # Run the app
18
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
 
 
3
  RUN apt-get update && apt-get install -y \
4
  tesseract-ocr \
5
  tesseract-ocr-ara \
6
  libglib2.0-0 libsm6 libxext6 libxrender-dev \
7
  && rm -rf /var/lib/apt/lists/*
8
 
 
9
  WORKDIR /app
10
  COPY . /app
11
 
 
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
 
14
  CMD ["python", "app.py"]