feat: add tests, update configs, fix state.py return, update gitignore

This commit is contained in:
2026-06-11 23:00:34 +02:00
parent 64d078f457
commit 0f390ff1e1
12 changed files with 305 additions and 15 deletions
+5 -2
View File
@@ -7,6 +7,9 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY sync_calendar.py .
COPY . .
CMD ["python", "-u", "sync_calendar.py"]
HEALTHCHECK --interval=60s --timeout=10s --start-period=5s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8081/health')" || exit 1
CMD ["python", "-u", "main.py"]