diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-06-22 14:12:06 +0000 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-06-22 14:12:06 +0000 |
commit | 61189a0932dc791b92c5f2c6bbf900910f2f5861 (patch) | |
tree | 5c7a1fdd8068b4ac2d0b9987df8b885433f81f31 | |
parent | 517dcf4ccf13f17e804c83122e09a635b3395fe3 (diff) |
ui is not using production builds in the Dockerfile
Issue-ID: PORTALNG-9
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I1c5f5af3d9b0d494540d661ca2f2aea983edfa2e
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | src/environments/environment.prod.ts | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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', |