From 1d6073089407f881550d80247253ca91f4d70940 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 14 Mar 2026 12:20:19 +0200 Subject: [PATCH] Refactored container ports --- .drone.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index ffb6735..bf9e484 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,16 +7,7 @@ trigger: exclude: - promote -# clone: -# disable: true - steps: - # - name: checkout - # image: alpine/git - # commands: - # - git clone https://gitea.khongisa.co.za/khwezi/blazortest.git - # - git checkout ${DRONE_COMMIT} - - name: dotnet build image: mcr.microsoft.com/dotnet/sdk:10.0 commands: @@ -51,12 +42,6 @@ clone: disable: true steps: - - name: checkout - image: alpine/git - commands: - - git clone https://gitea.khongisa.co.za/khwezi/blazortest.git . - - git checkout ${DRONE_COMMIT} - - name: dotnet publish image: mcr.microsoft.com/dotnet/sdk:10.0 commands: @@ -109,4 +94,4 @@ steps: - docker pull khwezi/blazortest:latest - docker stop blazortest 2>NUL || echo "Container not running" - docker rm blazortest 2>NUL || echo "Container not found" - - docker run -d --name blazortest --restart unless-stopped -e ASPNETCORE_ENVIRONMENT=Development -p 4000:8081 khwezi/blazortest:latest + - docker run -d --name blazortest --restart unless-stopped -e ASPNETCORE_ENVIRONMENT=Development -p 4001:7007 khwezi/blazortest:latest