Package legacy database in application image

This commit is contained in:
2026-09-23 10:38:58 +02:00
parent 594f96ab1b
commit 68344deb04
4 changed files with 17 additions and 8 deletions
+4 -2
View File
@@ -5,10 +5,12 @@ WORKDIR /app
RUN pip install --no-cache-dir --upgrade pip
COPY requirements.txt .
COPY TelcoPortal-source/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
COPY TelcoPortal-source/ .
RUN mkdir -p /app/legacy-data
COPY data/telco.db /app/legacy-data/telco.db
# Persistent application state (the generated Flask session key) lives in this volume.
VOLUME ["/app/data"]