aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--src/environments/environment.prod.ts1
2 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index b59b385..095c712 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,7 +10,7 @@ RUN npm install
COPY . .
-RUN npm run build
+RUN npm run build -- --configuration production
FROM openresty/openresty:1.21.4.1-4-alpine
RUN apk add gettext
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index 72d0d29..ae20693 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -26,7 +26,6 @@ export const environment: Environment = {
backendServerUrl: window.location.origin + '/api',
hostname: window.location.hostname,
production: true,
- keycloakEditProfile: `${window.location.origin}/auth/realms/ONAP/account`,
keycloak: {
hostname: window["env"]["keycloak"]["hostname"] || `https://${window.location.host.replace('portal', 'keycloak')}`,
realm: window["env"]["keycloak"]["realm"] || 'ONAP',