From 45051233904ddf922a7c4815e232e164d8898231 Mon Sep 17 00:00:00 2001 From: cghislai Date: Mon, 15 Feb 2021 05:23:43 +0100 Subject: [PATCH] Fix --- Dockerfile | 3 ++- angular.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0bdfbf..5d10db8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/angular.json b/angular.json index 45a8ae9..bc70133 100644 --- a/angular.json +++ b/angular.json @@ -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",