Docker: configurable using env vars

This commit is contained in:
Klaas van Schelven
2024-08-28 12:37:13 +02:00
parent c05d2e0198
commit 14ffbb7a48
4 changed files with 85 additions and 35 deletions

View File

@@ -26,7 +26,7 @@ COPY --from=build /wheels /wheels
RUN --mount=type=cache,target=/var/cache/buildkit/pip \
pip install --find-links /wheels --no-index /wheels/$WHEEL_FILE mysqlclient
COPY bugsink_conf.py .
COPY bugsink/conf_templates/docker.py.template bugsink_conf.py
RUN ["bugsink-manage", "migrate", "snappea", "--database=snappea"]