diff --git a/src/Dashboard.WebApi/developersDashboardFrontEnd/Dockerfile b/src/Dashboard.WebApi/developersDashboardFrontEnd/Dockerfile index 473bb18..c2d73ee 100644 --- a/src/Dashboard.WebApi/developersDashboardFrontEnd/Dockerfile +++ b/src/Dashboard.WebApi/developersDashboardFrontEnd/Dockerfile @@ -19,7 +19,7 @@ RUN npm install --silent COPY . . ## Build the angular app in production mode and store the artifacts in dist folder -RUN $(npm bin)/ng build +RUN $(npm bin)/ng build --prod # diff --git a/src/Dashboard.WebApi/developersDashboardFrontEnd/proxy.conf.json b/src/Dashboard.WebApi/developersDashboardFrontEnd/proxy.conf.json index 49962f3..c0f7624 100644 --- a/src/Dashboard.WebApi/developersDashboardFrontEnd/proxy.conf.json +++ b/src/Dashboard.WebApi/developersDashboardFrontEnd/proxy.conf.json @@ -1,6 +1,6 @@ { "/api/*": { - "target": "http://[::]:5001", + "target": "http://localhost:5001", "secure": false, "logLevel": "debug", "changeOrigin": true