diff --git a/Dockerfile b/Dockerfile index 833fcc3..851fcef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ - FROM python:3.11-slim WORKDIR /app @@ -6,6 +5,8 @@ WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ + libgl1 \ + libglib2.0-0 \ && rm -rf /var/lib/apt/lists/* # Copy and install Python dependencies @@ -19,4 +20,4 @@ COPY . . ENV PYTHONPATH=/app/src # Keep container running for interactive use -CMD ["tail", "-f", "/dev/null"] +CMD ["tail", "-f", "/dev/null"] \ No newline at end of file diff --git a/README.md b/README.md index 42862e3..b516e22 100644 --- a/README.md +++ b/README.md @@ -55,3 +55,5 @@ __Contributors:__ - Vincent Harkins (@vharkins1) - Marc Vergés (@marcvergees) - Jan Sans + +. \ No newline at end of file diff --git a/src/main.py b/src/main.py index 5bb632b..a17ecb1 100644 --- a/src/main.py +++ b/src/main.py @@ -1,4 +1,5 @@ import os +from typing import Union # from backend import Fill from commonforms import prepare_form from pypdf import PdfReader