Add powershell scripts for building Dashboard image
This commit is contained in:
parent
5185c29871
commit
2d2af45d8b
|
|
@ -1,9 +1,9 @@
|
|||
name: Build elsa-dashboard:latest
|
||||
name: Build elsa-dashboard-with-server:latest
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- feature/elsa-2.0
|
||||
- master
|
||||
#release:
|
||||
# types: [published]
|
||||
|
||||
|
|
|
|||
2
build-and-push-dashboard-with-docker.ps1
Normal file
2
build-and-push-dashboard-with-docker.ps1
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
docker build -t elsa-dashboard:latest -t elsa-workflows/elsa-dashboard:latest -t ndakota81/elsa-dashboard -f ./docker/Dockerfile-elsa-dashboard .
|
||||
docker push ndakota81/elsa-dashboard:latest
|
||||
2
build-and-run-dashboard-with-docker.ps1
Normal file
2
build-and-run-dashboard-with-docker.ps1
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
docker build -t elsadashboard:local -f ./docker/Dockerfile-elsa-dashboard .
|
||||
docker run -t -i -e Elsa__Server__BaseAddress='https://localhost:11000' -e ASPNETCORE_ENVIRONMENT='Development' -p 13000:80 elsadashboard:latest
|
||||
Loading…
Reference in a new issue