fix problem with SPA build
This commit is contained in:
parent
00d8538976
commit
25bae8e3ef
@ -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
|
||||||
|
@ -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 .
|
||||||
|
|
||||||
|
|
||||||
|
@ -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()
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"server.urls": "http://localhost:5000;http://localhost:5001"
|
|
||||||
}
|
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user