Spaces:
Sleeping
Sleeping
FROM python:3.9 | |
WORKDIR /code | |
# Installer poppler-utils pour pdf2image | |
RUN apt-get update && apt-get install -y poppler-utils && rm -rf /var/lib/apt/lists/* | |
COPY requirements.txt /code/requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
COPY . /code | |
CMD ["python", "app.py"] | |