File size: 424 Bytes
ce93d33
dc19f23
ce93d33
 
dc19f23
ce93d33
 
 
dc19f23
ce93d33
 
dc19f23
ce93d33
 
dc19f23
ce93d33
26ca40f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.10

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

# Install Python dependencies
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt

# Set the working directory
WORKDIR /app

# Copy the rest of your application code
COPY . /app

# Command to run your FastAPI app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]