mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-05-07 14:52:09 +08:00
Update .gitpod.yml
This commit is contained in:
parent
9ac75425ac
commit
b35f2326c7
23
.gitpod.yml
23
.gitpod.yml
@ -4,19 +4,12 @@
|
|||||||
# https://www.gitpod.io/docs/references/gitpod-yml
|
# https://www.gitpod.io/docs/references/gitpod-yml
|
||||||
# https://www.gitpod.io/docs/configure
|
# https://www.gitpod.io/docs/configure
|
||||||
# https://www.gitpod.io/docs/configure/workspaces/ports
|
# https://www.gitpod.io/docs/configure/workspaces/ports
|
||||||
|
|
||||||
image:
|
image:
|
||||||
file: gitpod/workspace-dotnet
|
file: .gitpod.Dockerfile
|
||||||
|
|
||||||
vscode:
|
|
||||||
extensions:
|
|
||||||
- ms-azuretools.vscode-docker
|
|
||||||
- muhammad-sammy.csharp
|
|
||||||
|
|
||||||
# https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Init Docker-Compose
|
- name: Init Docker-Compose
|
||||||
# https://www.gitpod.io/docs/configure/projects/prebuilds
|
# https://www.gitpod.io/docs/configure/projects/prebuilds
|
||||||
# We load docker on pre-build for increasing speed
|
# We load docker on pre-build for increasing speed
|
||||||
init: |
|
init: |
|
||||||
@ -24,6 +17,12 @@ tasks:
|
|||||||
docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d
|
docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d
|
||||||
- name: Restore & Build
|
- name: Restore & Build
|
||||||
init: |
|
init: |
|
||||||
dotnet dev-certs https
|
dotnet dev-certs https
|
||||||
dotnet restore
|
dotnet restore
|
||||||
dotnet build
|
dotnet build
|
||||||
|
- name: Run
|
||||||
|
command: dotnet run
|
||||||
|
|
||||||
|
vscode:
|
||||||
|
extensions:
|
||||||
|
- muhammad-sammy.csharp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user