From 29ff4c9dd37db9aad8ea9cce537157b86dcdaf71 Mon Sep 17 00:00:00 2001 From: LagoESP Date: Thu, 15 Jan 2026 22:04:03 +0100 Subject: [PATCH] chore: Ignore `.env` files and ensure unbuffered Python output in the Docker container. --- .gitignore | 1 + Dockerfile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 505a3b1..110b0a6 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ wheels/ # Virtual environments .venv +.env diff --git a/Dockerfile b/Dockerfile index 5192d41..12f6bc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM python:3.13-slim +ENV PYTHONUNBUFFERED=1 + WORKDIR /app COPY requirements.txt . @@ -7,4 +9,4 @@ RUN pip install --no-cache-dir -r requirements.txt COPY sync_calendar.py . -CMD ["python", "sync_calendar.py"] +CMD ["python", "-u", "sync_calendar.py"]