Skip to content

Commit 4797801

Browse files
committed
Update the CI Build docker file to build the SPA alient bits
While at it, update the sh script too.
1 parent c79336c commit 4797801

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

cli-mac/build-bits.sh

100644100755
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ projectList=(
1010
"../src/Web/WebStatus"
1111
)
1212

13+
14+
pushd $(pwd)/../src/Web/WebSPA
15+
npm install
16+
npm rebuild node-sass
17+
popd
18+
1319
for project in "${projectList[@]}"
1420
do
1521
echo -e "\e[33mWorking on $(pwd)/$project"

docker-compose.ci.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ services:
66
volumes:
77
- .:/src
88
working_dir: /src
9-
command: /bin/bash -c "dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
9+
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm install && npm rebuild node-sass && popd && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
1010

0 commit comments

Comments
 (0)