Set Python output to unbuffered for proper Docker Compose logging

This commit is contained in:
DIvan2000 2025-08-14 03:49:06 +04:00
parent a5df3133ac
commit d0afc248e7

View File

@ -6,4 +6,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
RUN chmod +x /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"] ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["python", "main.py"] CMD ["python", "-u", "main.py"]