Disable python buffer for stdout/stderr

Change-Id: I6f4a0aaf192df76d21c72529c92b6419c9f4b08d
This commit is contained in:
Lingxian Kong 2017-07-17 23:47:23 +12:00
parent 0f7520b88c
commit ebe601b8f5
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ COPY . /app
WORKDIR /app WORKDIR /app
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
ENTRYPOINT ["python"] ENTRYPOINT ["python", "-u"]
CMD ["server.py"] CMD ["server.py"]