Fix GST reconciliation server imports and Docker healthcheck

This commit is contained in:
A R R R Associates
2026-09-10 22:32:25 +05:30
parent 3b3b9c5ebe
commit 2ad8e44312
2 changed files with 117 additions and 2 deletions
+3 -1
View File
@@ -24,4 +24,6 @@ RUN mkdir -p /app/data/storage /app/data/year_backups
EXPOSE 8000
CMD ["sh", "-c", "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8000"]
HEALTHCHECK --interval=10s --timeout=5s --start-period=10s --retries=10 CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/', timeout=3)"
CMD ["sh", "-c", "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8000"]