tesseract-ocr / Dockerfile
Witold Wydmański
fix: rename dockerfile
36324cc
raw
history blame
281 Bytes
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 the app
CMD ["python", "app.py"]