diff --git a/Dockerfile b/Dockerfile index a357c60..e3ec446 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,11 @@ WORKDIR /usr/src/app # install dependencies from requirements.txt COPY src/app.py . +ENV PYTHONUNBUFFERED=1 + RUN mkdir ./data RUN pip install python-bring-api gkeepapi schedule gpsoauth==1.0.2 urllib3==1.25.1 # start app -CMD [ "python", "./app.py" ] \ No newline at end of file +CMD [ "python", "-u", "./app.py" ] \ No newline at end of file