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

View File

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