mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
!!! Temp !!!
This commit is contained in:
parent
0d6031143a
commit
ec289986d6
@ -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/
|
||||
|
||||
##################################################################################
|
||||
|
||||
@ -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/
|
||||
|
||||
@ -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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user