🎉 initial commit

This commit is contained in:
Marc Koch 2024-12-03 11:02:03 +01:00
commit 9f58e25f10
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
14 changed files with 459 additions and 0 deletions

19
Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM python:3.11-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y tesseract-ocr tesseract-ocr-deu && rm -rf /var/lib/apt/lists/*
COPY . .
EXPOSE 5000
CMD ["flask", "--app", "app", "run", "--host=0.0.0.0"]