general-elixir-demo / Dockerfile
Marsouuu's picture
Ajout de configuration Docker pour Hugging Face Spaces avec support Poppler
7c7c5da
raw
history blame
312 Bytes
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"]