From 95a9002889bf3595d2f451e337afe617a4feb2c7 Mon Sep 17 00:00:00 2001 From: Tim Hagen Date: Thu, 19 Sep 2024 09:15:08 +0200 Subject: [PATCH] added helpful tools to production container --- application/Dockerfile.prod | 14 ++++++++++++++ application/src/django_admin/settings.py | 1 + application/test/settings_test.py | 1 + pipelines/src/django_tira_git/settings.py | 1 + 4 files changed, 17 insertions(+) diff --git a/application/Dockerfile.prod b/application/Dockerfile.prod index 5d6d99cf..a2b89f2f 100644 --- a/application/Dockerfile.prod +++ b/application/Dockerfile.prod @@ -94,6 +94,20 @@ mkdir -p /tira/application/src chown -R tira:tira /tira EOF + +######################################################################################################################## +# Copy Data & Install Python and Dependencies # +######################################################################################################################## +COPY --from=build --chown=tira:tira /tira/application/src/manage.py /home/tira/manage.py + +RUN <