File size: 325 Bytes
9d34bba
 
 
 
 
 
 
 
 
 
 
 
 
c914e02
 
 
9d34bba
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.10-slim
WORKDIR /code

# Install tesseract
RUN apt-get update && apt-get install -y tesseract-ocr

# Install python dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt

# Copy the source code
COPY app.py .

RUN mkdir -p flagged
RUN chmod 777 flagged

# Run the app
CMD ["python", "app.py"]