update Dockerfile: run Python unbuffered to output logs immediately

This commit is contained in:
sebdotv
2025-04-10 15:16:59 +02:00
parent 28ebc14020
commit 6880c40d7a

View File

@@ -21,5 +21,8 @@ COPY authorized_users.txt .
# Start the proxy server as entrypoint
ENTRYPOINT ["ollama_proxy_server"]
# Do not buffer output, e.g. logs to stdout
ENV PYTHONUNBUFFERED=1
# Set command line parameters
CMD ["--config", "./config.ini", "--users_list", "./authorized_users.txt", "--port", "8080"]