feat: add tests, update configs, fix state.py return, update gitignore
This commit is contained in:
+5
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user