opex792's picture
Upload 3 files
cefe58f verified
raw
history blame
320 Bytes
FROM python:3.9-slim-buster
WORKDIR /app
RUN apt-get update && apt-get install -y \
tesseract-ocr \
libgl1-mesa-glx \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]