toshiba_2.O / Dockerfile
neerajkalyank's picture
Create Dockerfile
46efefc verified
raw
history blame
432 Bytes
# Use an official Python image from the Docker Hub
FROM python:3.10-slim
# Install system dependencies
RUN apt-get update && \
apt-get install -y tesseract-ocr && \
apt-get clean
# Copy the requirements file and install Python dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy the entire app code into the Docker container
COPY . .
# Command to run the Gradio app
CMD ["python3", "app.py"]