diff --git a/Dockerfile b/Dockerfile index 950b6715..e272df58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,6 @@ COPY --from=builder /build/dist/apps/$COPY_PATH/* ./dist WORKDIR /app/dist RUN npm install --force -RUN npm install @faker-js/faker # Start the server using the production build CMD [ "node", "main.js" ] diff --git a/apps/frontend/.env.default.sh b/apps/frontend/.env.default.sh index ae4cc0c6..683bd711 100755 --- a/apps/frontend/.env.default.sh +++ b/apps/frontend/.env.default.sh @@ -8,9 +8,9 @@ grep -v '^#' .env.default | while IFS= read -r line; do echo "$value" if [ -z "$value" ] then - echo "Environment variable $name is empty. Skipping default value substition..." + echo "Environment variable $name is empty. Skipping default value substitution..." else - echo "Substituing $name default value '$default_value' with environment value '$value' in $SED_GLOB" + echo "Substituting $name default value '$default_value' with environment value '$value' in $SED_GLOB" echo "sed -i \"s#$default_value#$value#g\" $SED_GLOB" fi done diff --git a/apps/frontend/.env.example b/apps/frontend/.env.example index 95bb3366..86d87aeb 100644 --- a/apps/frontend/.env.example +++ b/apps/frontend/.env.example @@ -2,5 +2,5 @@ REACT_APP_MAPBOX_ACCESS_TOKEN="token" REACT_APP_DEFAULT_LOCALE='fr' REACT_APP_API_BASE_URL=http://localhost:3333/api REACT_APP_CONTACT_EMAIL=me@frontend.example.org -REACT_APP_MATOMO_TRACKER_URL=https://matomo.example.org/ +REACT_APP_MATOMO_TRACKER_URL=//matomo.example.org/ REACT_APP_MATOMO_SITE_ID=1234 diff --git a/apps/frontend/public/index.html b/apps/frontend/public/index.html index 0c35842c..e79c08d4 100644 --- a/apps/frontend/public/index.html +++ b/apps/frontend/public/index.html @@ -46,23 +46,16 @@ To create a production bundle, use `npm run build` or `yarn build`. --> -