chore: Ignore .env files and ensure unbuffered Python output in the Docker container.

This commit is contained in:
LagoESP
2026-01-15 22:04:03 +01:00
parent a934d01b1b
commit 29ff4c9dd3
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@@ -8,3 +8,4 @@ wheels/
# Virtual environments
.venv
.env

View File

@@ -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"]