fix problem with SPA build

This commit is contained in:
PLAINCONCEPTS\ccanizares 2017-01-04 16:30:05 +01:00
parent 00d8538976
commit 25bae8e3ef
5 changed files with 4 additions and 7 deletions

View File

@ -9,8 +9,6 @@ version: '2'
services: services:
webmvc: webmvc:
image: eshop/web image: eshop/web
links:
- identity.service:localhost
depends_on: depends_on:
- identity.service - identity.service
- basket.api - basket.api

View File

@ -4,3 +4,5 @@ ARG source=.
WORKDIR /app WORKDIR /app
ENV ASPNETCORE_URLS http://0.0.0.0:5104 ENV ASPNETCORE_URLS http://0.0.0.0:5104
COPY $source . COPY $source .

View File

@ -10,7 +10,7 @@ namespace eShopConContainers.WebSPA
{ {
var config = new ConfigurationBuilder() var config = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory()) .SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("hosting.json", optional: true) //.AddJsonFile("hosting.json", optional: true)
.Build(); .Build();
var host = new WebHostBuilder() var host = new WebHostBuilder()

View File

@ -1,3 +0,0 @@
{
"server.urls": "http://localhost:5000;http://localhost:5001"
}

View File

@ -95,7 +95,7 @@
"ts-node": "1.4.3", "ts-node": "1.4.3",
"tslint": "^3.15.1", "tslint": "^3.15.1",
"typedoc": "0.5.0", "typedoc": "0.5.0",
"typescript": "^2.0.6", "typescript": "2.0.6",
"url-loader": "^0.5.7", "url-loader": "^0.5.7",
"webpack": "2.1.0-beta.25", "webpack": "2.1.0-beta.25",
"webpack-externals-plugin": "1.0.0", "webpack-externals-plugin": "1.0.0",