!!! Temp !!!

This commit is contained in:
Wolfgang Huß 2023-12-27 15:18:24 +01:00
parent 0d6031143a
commit ec289986d6
3 changed files with 21 additions and 8 deletions

View File

@ -11,11 +11,21 @@ FROM $APP_IMAGE_CODE as code
ARG CONFIGURATION=example
# alt Wolle # 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/email/ src/middleware/helpers/email/
# Wolle # copy public constants and email templates into the Docker image to brand it
# COPY configurations/${CONFIGURATION}/branding/constants/ src/config/
# COPY configurations/${CONFIGURATION}/branding/constants/ src/constants/
# # links.ts does only work in frontend, not backend
# RUN rm -Rf src/config/links.ts src/constants/links.ts
# COPY configurations/${CONFIGURATION}/branding/email/ src/middleware/helpers/email/
# copy public constants and email templates into the Docker image to brand it
COPY configurations/${CONFIGURATION}/branding/constants/ src/config/
COPY configurations/${CONFIGURATION}/branding/constants/ src/constants/
# links.ts does only work in frontend, not backend
RUN rm -Rf src/config/links.ts src/constants/links.ts
COPY configurations/${CONFIGURATION}/branding/config/ src/branding/
COPY configurations/${CONFIGURATION}/branding/email/ src/middleware/helpers/email/
##################################################################################

View File

@ -13,8 +13,10 @@ ARG CONFIGURATION=example
# copy public constants into the Docker image to brand it
COPY configurations/${CONFIGURATION}/branding/static/ static/
COPY configurations/${CONFIGURATION}/branding/constants/ constants/
RUN /bin/sh -c 'cd constants && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
# COPY configurations/${CONFIGURATION}/branding/constants/ constants/
# RUN /bin/sh -c 'cd constants && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
COPY configurations/${CONFIGURATION}/branding/config/ branding/
RUN /bin/sh -c 'cd branding && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
# locales
COPY configurations/${CONFIGURATION}/branding/locales/*.json locales/tmp/

View File

@ -13,8 +13,9 @@ ARG CONFIGURATION=example
# copy public constants into the Docker image to brand it
COPY configurations/${CONFIGURATION}/branding/static/ static/
COPY configurations/${CONFIGURATION}/branding/constants/ constants/
RUN /bin/sh -c 'cd constants && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
# Wolle COPY configurations/${CONFIGURATION}/branding/constants/ constants/
COPY configurations/${CONFIGURATION}/branding/config/ branding/
RUN /bin/sh -c 'cd branding && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
COPY configurations/${CONFIGURATION}/branding/locales/html/ locales/html/
COPY configurations/${CONFIGURATION}/branding/assets/styles/imports/ assets/styles/imports/
COPY configurations/${CONFIGURATION}/branding/assets/fonts/ assets/fonts/