diff --git a/Dockerfile b/Dockerfile index 834df0ff..1dceddd0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY . . ## Build the angular app in production mode and store the artifacts in dist folder -RUN npm run ng build --configuration="prod" --output-path=dist --base-href="/cds/" --output-hashing=none --build-optimizer=true --vendor-chunk +RUN npm run ng build --configuration="prod" --output-path=dist --base-href="./" --output-hashing=none --build-optimizer=true --vendor-chunk ### STAGE 2: Setup ### diff --git a/angular.json b/angular.json index d6f87c89..650ede16 100644 --- a/angular.json +++ b/angular.json @@ -56,7 +56,7 @@ ] }, "configurations": { - "prod": { + "production": { "budgets": [ { "type": "initial",