fixing webspa build for windows, to use node-windows image

This commit is contained in:
eiximenis 2019-05-29 08:49:21 +02:00
parent 6693719f49
commit c0f950e4a7
2 changed files with 5 additions and 1 deletions

View File

@ -60,6 +60,7 @@ jobs:
projectName: "" projectName: ""
dockerComposeFileArgs: | dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName) TAG=$(Build.SourceBranchName)
NODE_IMAGE=stefanscherer/node-windows:8.11
PLATFORM=win PLATFORM=win
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose push webspa displayName: Compose push webspa
@ -73,3 +74,4 @@ jobs:
dockerComposeFileArgs: | dockerComposeFileArgs: |
TAG=$(Build.SourceBranchName) TAG=$(Build.SourceBranchName)
PLATFORM=win PLATFORM=win
NODE_IMAGE=stefanscherer/node-windows:8.11

View File

@ -214,6 +214,8 @@ services:
build: build:
context: . context: .
dockerfile: src/Web/WebSPA/Dockerfile dockerfile: src/Web/WebSPA/Dockerfile
args:
- NODE_IMAGE=${NODE_IMAGE:-node:8.11}
# depends_on: # depends_on:
# - webshoppingagg # - webshoppingagg
# - webshoppingapigw # - webshoppingapigw