mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
rename ts files to js for webapp
This commit is contained in:
parent
3a229672d2
commit
22b5e8f6f8
@ -14,6 +14,7 @@ ARG CONFIGURATION=example
|
|||||||
# copy public constants into the Docker image to brand it
|
# copy public constants into the Docker image to brand it
|
||||||
COPY configurations/${CONFIGURATION}/branding/static/ static/
|
COPY configurations/${CONFIGURATION}/branding/static/ static/
|
||||||
COPY configurations/${CONFIGURATION}/branding/constants/ constants/
|
COPY configurations/${CONFIGURATION}/branding/constants/ constants/
|
||||||
|
RUN /bin/sh -c 'cd constants && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done'
|
||||||
|
|
||||||
# locales
|
# locales
|
||||||
COPY configurations/${CONFIGURATION}/branding/locales/*.json locales/tmp/
|
COPY configurations/${CONFIGURATION}/branding/locales/*.json locales/tmp/
|
||||||
|
|||||||
@ -14,6 +14,7 @@ ARG CONFIGURATION=example
|
|||||||
# copy public constants into the Docker image to brand it
|
# copy public constants into the Docker image to brand it
|
||||||
COPY configurations/${CONFIGURATION}/branding/static/ static/
|
COPY configurations/${CONFIGURATION}/branding/static/ static/
|
||||||
COPY configurations/${CONFIGURATION}/branding/constants/ constants/
|
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/locales/html/ locales/html/
|
COPY configurations/${CONFIGURATION}/branding/locales/html/ locales/html/
|
||||||
COPY configurations/${CONFIGURATION}/branding/assets/styles/imports/ assets/styles/imports/
|
COPY configurations/${CONFIGURATION}/branding/assets/styles/imports/ assets/styles/imports/
|
||||||
COPY configurations/${CONFIGURATION}/branding/assets/fonts/ assets/fonts/
|
COPY configurations/${CONFIGURATION}/branding/assets/fonts/ assets/fonts/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user