remove random dependency, add unbuffered output to Dockerfile
This commit is contained in:
parent
81ec81d4e4
commit
32df042962
|
|
@ -18,4 +18,4 @@ RUN \
|
|||
|
||||
EXPOSE 8888
|
||||
|
||||
CMD ["python", "/usr/src/app/nginx-ldap-auth-daemon.py", "--host", "0.0.0.0", "--port", "8888"]
|
||||
CMD ["python", "-u", "/usr/src/app/nginx-ldap-auth-daemon.py", "--host", "0.0.0.0", "--port", "8888"]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
# Copyright (C) 2014-2015 Nginx, Inc.
|
||||
|
||||
import sys, os, signal, base64, ldap, http.cookies, argparse
|
||||
import random
|
||||
from http.server import HTTPServer, BaseHTTPRequestHandler
|
||||
|
||||
if not hasattr(__builtins__, "basestring"): basestring = (str, bytes)
|
||||
|
|
|
|||
Loading…
Reference in New Issue