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:
webmvc:
image: eshop/web
links:
- identity.service:localhost
depends_on:
- identity.service
- basket.api

View File

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

View File

@ -10,7 +10,7 @@ namespace eShopConContainers.WebSPA
{
var config = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("hosting.json", optional: true)
//.AddJsonFile("hosting.json", optional: true)
.Build();
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",
"tslint": "^3.15.1",
"typedoc": "0.5.0",
"typescript": "^2.0.6",
"typescript": "2.0.6",
"url-loader": "^0.5.7",
"webpack": "2.1.0-beta.25",
"webpack-externals-plugin": "1.0.0",