diff --git a/Dockerfile b/Dockerfile index a5562bd..74f6fa2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR FROM python:3.12-slim-bookworm as runtime RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -y install tesseract-ocr + && apt-get -y install poppler-utils tesseract-ocr-ces WORKDIR /app diff --git a/app.py b/app.py index 9e597fa..dd2b335 100755 --- a/app.py +++ b/app.py @@ -15,7 +15,7 @@ app = FastAPI(debug=True) templates = Jinja2Templates(directory="templates") # app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1) -redis_client = redis.Redis(host="redis", port=6379) +redis_client = redis.Redis() @app.get("/public_transport")