Add powershell scripts for building Dashboard image

This commit is contained in:
Sipke Schoorstra 2021-05-14 13:37:53 +02:00
parent 5185c29871
commit 2d2af45d8b
3 changed files with 6 additions and 2 deletions

View file

@ -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]

View 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

View 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