feat: load version dynamically from pyproject.toml
- Add _get_version_from_pyproject() function to config.py - APP_VERSION now uses default_factory to load from pyproject.toml - Add pyproject.toml to Docker build for version detection - Add LIBRARY_DESK configuration settings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
COPY requirements.txt pyproject.toml ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src/ ./src/
|
||||
|
||||
Reference in New Issue
Block a user