Browse Source

fix problem with SPA build

pull/49/merge
PLAINCONCEPTS\ccanizares 8 years ago
parent
commit
25bae8e3ef
5 changed files with 4 additions and 7 deletions
  1. +0
    -2
      docker-compose.yml
  2. +2
    -0
      src/Web/WebSPA/eShopOnContainers.WebSPA/Dockerfile
  3. +1
    -1
      src/Web/WebSPA/eShopOnContainers.WebSPA/Program.cs
  4. +0
    -3
      src/Web/WebSPA/eShopOnContainers.WebSPA/hosting.json
  5. +1
    -1
      src/Web/WebSPA/eShopOnContainers.WebSPA/package.json

+ 0
- 2
docker-compose.yml View File

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


+ 2
- 0
src/Web/WebSPA/eShopOnContainers.WebSPA/Dockerfile View File

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

+ 1
- 1
src/Web/WebSPA/eShopOnContainers.WebSPA/Program.cs 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()


+ 0
- 3
src/Web/WebSPA/eShopOnContainers.WebSPA/hosting.json View File

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

+ 1
- 1
src/Web/WebSPA/eShopOnContainers.WebSPA/package.json 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",


Loading…
Cancel
Save