Set Python output to unbuffered for proper Docker Compose logging
This commit is contained in:
parent
a5df3133ac
commit
d0afc248e7
@ -6,4 +6,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
CMD ["python", "main.py"]
|
||||
CMD ["python", "-u", "main.py"]
|
Loading…
x
Reference in New Issue
Block a user