From b35f2326c765db8aca99d50a5c3e8b1f2622530a Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:11:49 +0330 Subject: [PATCH] Update .gitpod.yml --- .gitpod.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index bd301e7..5a5adc1 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -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