mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Implement branding with folders 'config-all', 'config-webapp', 'config-backend'
This commit is contained in:
parent
13d8c19b5a
commit
2ef6f40161
@ -25,7 +25,8 @@ ARG CONFIGURATION=example
|
||||
# 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/config/ src/branding/
|
||||
COPY configurations/${CONFIGURATION}/branding/config-all/ src/branding/
|
||||
COPY configurations/${CONFIGURATION}/branding/config-backend/ src/branding/
|
||||
COPY configurations/${CONFIGURATION}/branding/email/ src/middleware/helpers/email/
|
||||
|
||||
##################################################################################
|
||||
|
||||
@ -13,9 +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/config/ branding/
|
||||
# Wolle: COPY configurations/${CONFIGURATION}/branding/constants/ constants/
|
||||
# Wolle: RUN /bin/sh -c 'cd constants && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
|
||||
COPY configurations/${CONFIGURATION}/branding/config-all/ branding/
|
||||
COPY configurations/${CONFIGURATION}/branding/config-webapp/ branding/
|
||||
RUN /bin/sh -c 'cd branding && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
|
||||
|
||||
# locales
|
||||
|
||||
@ -13,8 +13,9 @@ ARG CONFIGURATION=example
|
||||
|
||||
# copy public constants into the Docker image to brand it
|
||||
COPY configurations/${CONFIGURATION}/branding/static/ static/
|
||||
# Wolle COPY configurations/${CONFIGURATION}/branding/constants/ constants/
|
||||
COPY configurations/${CONFIGURATION}/branding/config/ branding/
|
||||
# Wolle: COPY configurations/${CONFIGURATION}/branding/constants/ constants/
|
||||
COPY configurations/${CONFIGURATION}/branding/config-all/ branding/
|
||||
COPY configurations/${CONFIGURATION}/branding/config-webapp/ 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/
|
||||
|
||||
@ -97,6 +97,7 @@ COPY --from=build ${DOCKER_WORKDIR}/nuxt.config.js ./nuxt.config.js
|
||||
# Copy static files
|
||||
# TODO - this seems not be needed anymore for the new rebranding
|
||||
# TODO - this should be one Folder containign all stuff needed to be copied
|
||||
# Wolle: what shall happen here?
|
||||
COPY --from=build ${DOCKER_WORKDIR}/config/ ./config/
|
||||
COPY --from=build ${DOCKER_WORKDIR}/constants ./constants
|
||||
COPY --from=build ${DOCKER_WORKDIR}/static ./static
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user