diff --git a/Dockerfile b/Dockerfile index 41c13c1..991b7af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,4 +17,6 @@ ENV PATH="/app/.venv/bin:$PATH" RUN prisma db push -CMD ["nephthys"] \ No newline at end of file +CMD ["nephthys"] + +HEALTHCHECK --start-period=5s CMD curl --fail http://localhost:3000/health | grep -E '"healthy":\s*true' || exit 1 \ No newline at end of file