- Add pyproject.toml as single source of truth for version and metadata - Update config.py to read version from pyproject.toml using tomllib - FastAPI app now loads title and version dynamically from config - Health endpoint now includes version in response - Dockerfile updated to include pyproject.toml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Copy application
|
||||
COPY src/ ./src/
|
||||
COPY setup_database.sql .
|
||||
COPY pyproject.toml .
|
||||
|
||||
# Configure git
|
||||
RUN git config --global user.name "The Librarian" && \
|
||||
|
||||
Reference in New Issue
Block a user