Skip to content

Commit

Permalink
Revert hostname to Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
JersyJ authored and trnila committed Jun 30, 2024
1 parent 8ca6f53 commit 24af092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 24af092

Please sign in to comment.