This commit is contained in:
cghislai 2021-02-15 05:23:43 +01:00
parent 122a48df4c
commit 4505123390
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,8 @@
FROM docker.charlyghislain.com/front-apache:2.4.39-a FROM docker.charlyghislain.com/front-apache:2.4.39-a
ARG CLANG=en ARG CLANG=en
COPY dist/${CLANG} /var/www/html/${CLANG} # dist/fr/fr/ -> /var/www/html/fr/
COPY dist/${CLANG}/* /var/www/html/
COPY docker/httpd.conf /var/run/httpd.conf.tmp COPY docker/httpd.conf /var/run/httpd.conf.tmp
RUN apk add gettext \ RUN apk add gettext \
&& mkdir /var/run/httpd \ && mkdir /var/run/httpd \

View File

@ -33,7 +33,7 @@
}, },
"configurations": { "configurations": {
"fr": { "fr": {
"outputPath": "dist", "outputPath": "dist/fr",
"budgets": [ "budgets": [
{ {
"type": "anyComponentStyle", "type": "anyComponentStyle",
@ -58,7 +58,7 @@
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true, "buildOptimizer": true,
"outputPath": "dist/", "outputPath": "dist/en",
"baseHref": "/", "baseHref": "/",
"budgets": [ "budgets": [
{ {
@ -84,7 +84,7 @@
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true, "buildOptimizer": true,
"outputPath": "dist", "outputPath": "dist/fr",
"budgets": [ "budgets": [
{ {
"type": "anyComponentStyle", "type": "anyComponentStyle",