Bake VERSION into Docker image so About page shows correct version

Without COPY VERSION, _read_version() fell back to "0.0.0". The volume
mount is a runtime override; the baked-in copy is the reliable baseline.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mARTin-B78 2026-06-10 04:03:10 +02:00
parent 1af02f8d1b
commit d4b176e4d1

View File

@ -24,6 +24,7 @@ RUN pip install --no-cache-dir -r /tmp/requirements.txt
WORKDIR /app WORKDIR /app
COPY server.py . COPY server.py .
COPY CHANGELOG.md . COPY CHANGELOG.md .
COPY VERSION .
COPY core/ core/ COPY core/ core/
COPY routes/ routes/ COPY routes/ routes/
COPY static/ static/ COPY static/ static/