vbb / Dockerfile
PratyanshSrivastava's picture
Create Dockerfile
5c76dda verified
Raw History Blame Contribute Delete
280 Bytes
FROM python:3.10-slim
WORKDIR /code
COPY requirements.txt .
RUN apt-get update && \
apt-get install -y tesseract-ocr && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "app.py"]