From e88c5d856720fd9f74cbb568b328ce556ec5cbdb Mon Sep 17 00:00:00 2001 From: "Mingor(100757)" Date: Tue, 27 Aug 2024 18:39:27 +0800 Subject: [PATCH] update actions yaml --- .gitea/workflows/deploy-k8s.yaml | 2 ++ Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy-k8s.yaml b/.gitea/workflows/deploy-k8s.yaml index 892e3fd..a49a014 100644 --- a/.gitea/workflows/deploy-k8s.yaml +++ b/.gitea/workflows/deploy-k8s.yaml @@ -21,6 +21,8 @@ jobs: run: dotnet build --configuration Release --no-restore -o dst - name: Test run: dotnet test --no-restore --verbosity normal + - name: List files in the repos + run: ls ${{ gitea.workspace }} - name: Login to Aliyun Container Registry uses: docker/login-action@v3 with: diff --git a/Dockerfile b/Dockerfile index 2de3375..d9e1178 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app -COPY dst . -EXPOSE 80 +COPY dst/ . +EXPOSE 8080 ENTRYPOINT ["dotnet", "dotnet-deploy-k8s.dll"]