|
|
@ -2,10 +2,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
FROM node:16-alpine3.16
|
|
|
|
FROM node:16-alpine3.16
|
|
|
|
|
|
|
|
|
|
|
|
COPY content ./
|
|
|
|
WORKDIR /work
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COPY content /work
|
|
|
|
|
|
|
|
|
|
|
|
RUN set -euxo pipefail \
|
|
|
|
RUN set -euxo pipefail \
|
|
|
|
&& npm config set update-notifier false \
|
|
|
|
&& npm config set update-notifier false \
|
|
|
|
&& npm install --no-fund \
|
|
|
|
&& npm install --no-audit --no-fund \
|
|
|
|
&& sed -i 's/#007bff/#55a5d9/' node_modules/admin-lte/build/scss/_bootstrap-variables.scss \
|
|
|
|
&& sed -i 's/#007bff/#55a5d9/' node_modules/admin-lte/build/scss/_bootstrap-variables.scss \
|
|
|
|
&& for l in ca da de:de-DE en:en-GB es:es-ES eu fr:fr-FR he hu is it:it-IT ja nb_NO:no-NB nl:nl-NL pl pt:pt-PT ru sv:sv-SE zh; do \
|
|
|
|
&& for l in ca da de:de-DE en:en-GB es:es-ES eu fr:fr-FR he hu is it:it-IT ja nb_NO:no-NB nl:nl-NL pl pt:pt-PT ru sv:sv-SE zh; do \
|
|
|
|
cp node_modules/datatables.net-plugins/i18n/${l#*:}.json assets/${l%:*}.json; \
|
|
|
|
cp node_modules/datatables.net-plugins/i18n/${l#*:}.json assets/${l%:*}.json; \
|
|
|
|