Dileep7729's picture
Create dockerfile
2ec8869 verified
raw
history blame
297 Bytes
# Use a base image
FROM python:3.9-slim
# 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 application code
COPY . /app
WORKDIR /app
# Run the app
CMD ["python", "app.py"]