From ce68e25594cad3ea23a2ffc264b975cd72834ca8 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 22 Nov 2023 13:36:23 +0100 Subject: [PATCH] copy all constants in backend, but removed links.ts since not working --- deployment/src/docker/backend.Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/src/docker/backend.Dockerfile b/deployment/src/docker/backend.Dockerfile index a0b6e4ed4..89a9e3765 100644 --- a/deployment/src/docker/backend.Dockerfile +++ b/deployment/src/docker/backend.Dockerfile @@ -12,9 +12,9 @@ FROM $APP_IMAGE_CODE as code ARG CONFIGURATION=example # copy public constants and email templates into the Docker image to brand it -COPY configurations/${CONFIGURATION}/branding/constants/emails.ts src/config/ -COPY configurations/${CONFIGURATION}/branding/constants/logos.ts src/config/ -COPY configurations/${CONFIGURATION}/branding/constants/metadata.ts src/config/ +COPY configurations/${CONFIGURATION}/branding/constants/ src/config/ +# links.ts does only work in frontend, not backend +RUN rm -Rf src/config/links.ts COPY configurations/${CONFIGURATION}/branding/email/ src/middleware/helpers/email/ ##################################################################################