Skip to content

Commit c0f950e

Browse files
committed
fixing webspa build for windows, to use node-windows image
1 parent 6693719 commit c0f950e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

build/azure-devops/webspa/azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
projectName: ""
6161
dockerComposeFileArgs: |
6262
TAG=$(Build.SourceBranchName)
63+
NODE_IMAGE=stefanscherer/node-windows:8.11
6364
PLATFORM=win
6465
- task: DockerCompose@0
6566
displayName: Compose push webspa
@@ -72,4 +73,5 @@ jobs:
7273
projectName: ""
7374
dockerComposeFileArgs: |
7475
TAG=$(Build.SourceBranchName)
75-
PLATFORM=win
76+
PLATFORM=win
77+
NODE_IMAGE=stefanscherer/node-windows:8.11

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ services:
214214
build:
215215
context: .
216216
dockerfile: src/Web/WebSPA/Dockerfile
217+
args:
218+
- NODE_IMAGE=${NODE_IMAGE:-node:8.11}
217219
# depends_on:
218220
# - webshoppingagg
219221
# - webshoppingapigw

0 commit comments

Comments
 (0)