toshiba_2.O / Dockerfile
neerajkalyank's picture
Update Dockerfile
2deee95 verified
raw
history blame
392 Bytes
# Use an official Python image from Docker Hub
FROM python:3.10-slim
# Update and install Tesseract OCR
RUN apt-get update && \
apt-get install -y tesseract-ocr && \
apt-get clean
# Copy requirements.txt and install Python dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy the application code
COPY . .
# Run the Gradio app
CMD ["python3", "app.py"]