Repository navigation
Dockerize backend for cloud deployment - #6
Merged
Merged
Conversation
princerm06
marked this pull request as ready for review
October 7, 2026 18:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/healthfor container/platform health checkspool_pre_pingfor stale cloud connection recovery.dockerignore,.env.example, deployment documentation, and config/model-loading testsProduct / engineering intent
Milestone 5A is the first cloud/SWE milestone. It makes the backend portable and cloud-ready without changing retrieval behavior.
Why lazy model loading
FastAPI can now start and answer lightweight endpoints such as
/healthwithout immediately loading the embedding model into memory. The model is initialized once, on the first embedding request, and then cached for subsequent requests. This improves startup/cold-start behavior while preserving the same model and embeddings.Security
.envremains ignoredVerification
GitHub Actions now runs:
/healthHTTP check against the running containerThe local Docker Desktop issue is therefore no longer required to validate the container itself.