neerajkalyank commited on
Commit
5dedbe7
1 Parent(s): f8598ca

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -1,10 +1,12 @@
1
  # Use an official Python image from the Docker Hub
2
  FROM python:3.10-slim
3
 
4
- # Install system dependencies
5
- RUN apt-get update && \
6
- apt-get install -y tesseract-ocr && \
7
- apt-get clean
 
 
8
 
9
  # Copy the requirements file and install Python dependencies
10
  COPY requirements.txt .
 
1
  # Use an official Python image from the Docker Hub
2
  FROM python:3.10-slim
3
 
4
+ # Copy setup.sh and give execute permission
5
+ COPY setup.sh /setup.sh
6
+ RUN chmod +x /setup.sh
7
+
8
+ # Run setup.sh to install system dependencies
9
+ RUN /setup.sh
10
 
11
  # Copy the requirements file and install Python dependencies
12
  COPY requirements.txt .