Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#FROM pytorch/pytorch:2.5.0-cuda12.4-cudnn9-runtime AS base
FROM pytorch/pytorch:2.7.1-cuda12.8-cudnn9-runtime AS base
FROM pytorch/pytorch:2.8.0-cuda12.9-cudnn9-runtime AS base
ENV DEBIAN_FRONTEND noninteractive
ENV TZ=Europe/Berlin
RUN buildDeps='locales curl wget build-essential software-properties-common libmagic1 libxml2 git ocrmypdf' \
Expand Down Expand Up @@ -45,4 +44,4 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

#ENTRYPOINT ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5000", "--workers", "6","--proxy-headers"]
ENTRYPOINT ["python", "app.py"]
ENTRYPOINT ["python", "app.py"]
24 changes: 12 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
marker-pdf[full]==1.8.1
chardet
rdflib==7.0.0
marker-pdf[full]==1.8.3
chardet==5.2.0
rdflib==7.1.4
WTForms==3.2.1
pandas==2.3.0
starlette==0.46.2
pandas==2.3.1
starlette==0.47.2
Starlette-WTF==0.4.5
jinja2
fastapi==0.115.14
jinja2==3.1.6
fastapi==0.116.1
uvicorn==0.35.0
gunicorn==23.0.0
pydantic>=2.4.0
pydantic_settings
requests
opencv-python-headless==4.11.0.86
fake-useragent
pydantic>=2.11.7
pydantic_settings==2.10.1
requests==2.32.5
opencv-python-headless==4.12.0.88
fake-useragent==2.2.0