Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nkz-soft committed Feb 23, 2023
1 parent 262020c commit 305247c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-by-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 305247c

Please sign in to comment.