Update .gitpod.yml

This commit is contained in:
Meysam Hadeli 2023-01-20 20:11:49 +03:30 committed by GitHub
parent 9ac75425ac
commit b35f2326c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,19 +4,12 @@
# https://www.gitpod.io/docs/references/gitpod-yml
# https://www.gitpod.io/docs/configure
# https://www.gitpod.io/docs/configure/workspaces/ports
image:
file: gitpod/workspace-dotnet
vscode:
extensions:
- ms-azuretools.vscode-docker
- muhammad-sammy.csharp
# https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order
file: .gitpod.Dockerfile
tasks:
- name: Init Docker-Compose
- name: Init Docker-Compose
# https://www.gitpod.io/docs/configure/projects/prebuilds
# We load docker on pre-build for increasing speed
init: |
@ -24,6 +17,12 @@ tasks:
docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d
- name: Restore & Build
init: |
dotnet dev-certs https
dotnet dev-certs https
dotnet restore
dotnet build
dotnet build
- name: Run
command: dotnet run
vscode:
extensions:
- muhammad-sammy.csharp