From 305247c740ea1aba9a6472d37e597813ced1b812 Mon Sep 17 00:00:00 2001 From: nkz <5499916+nkz-soft@users.noreply.github.com> Date: Thu, 23 Feb 2023 15:51:25 +0300 Subject: [PATCH] Fix: https://github.com/dotnet/performance/pull/2774 --- .github/workflows/build-by-tag.yaml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-by-tag.yaml b/.github/workflows/build-by-tag.yaml index ac8405a..d43be33 100644 --- a/.github/workflows/build-by-tag.yaml +++ b/.github/workflows/build-by-tag.yaml @@ -19,11 +19,11 @@ jobs: - name: Restore Dependencies run: dotnet restore - name: Build - run: dotnet build -c Release --no-restore + run: dotnet build -c Release /p:PublishDir=./publish/app --no-restore - name: Test run: dotnet test ./tests/NKZSoft.Template.Application.Tests --configuration Release --no-build - name: Publish - run: dotnet publish -c Release -o ./publish/app --no-restore --no-build + run: dotnet publish -c Release -p:PublishDir=./publish/app --no-restore --no-build - name: Docker meta id: meta uses: docker/metadata-action@v4 diff --git a/Dockerfile b/Dockerfile index c2cf08d..4b4e2b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,6 @@ EXPOSE 80 EXPOSE 81 WORKDIR /app -COPY ./publish/app . +COPY ./src/NKZSoft.Template.Presentation.Starter/publish/app . ENTRYPOINT ["dotnet", "NKZSoft.Template.Presentation.Starter.dll"]