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
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
RUN apk add gettext \
&& mkdir /var/run/httpd \

View File

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