mirror of
https://github.com/ParisNeo/ollama_proxy_server.git
synced 2025-09-06 13:42:26 +00:00
update Dockerfile: run Python unbuffered to output logs immediately
This commit is contained in:
@@ -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"]
|
||||
|
Reference in New Issue
Block a user