Spaces:
Sleeping
Sleeping
FROM python:3.9 | |
WORKDIR /app | |
RUN pip install --upgrade pip | |
RUN apt-get update && apt-get install -y \ | |
tesseract-ocr \ | |
tesseract-ocr-fra \ | |
libtesseract-dev \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt -r requirements.txt | |
COPY ./app.py . | |
EXPOSE 7860 | |
CMD ["python","app.py"] |