Skip to content

Commit

Permalink
collect published content from out/wwwroot
Browse files Browse the repository at this point in the history
was different in previous version...
  • Loading branch information
meirkr committed May 16, 2020
1 parent 1537159 commit 88f2730
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/out





## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# FROM mcr.microsoft.com/dotnet/core/sdk:3.0
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder

WORKDIR /app
Expand All @@ -24,5 +23,5 @@ COPY nginx.conf /etc/nginx/nginx.conf
WORKDIR /usr/share/nginx/html

## From ‘builder’ stage copy over the artifacts in dist folder to default nginx public folder
COPY --from=builder /app/out/blazorChat/dist .
COPY --from=builder /app/out/wwwroot .
RUN ls -l /usr/share/nginx/html/

0 comments on commit 88f2730

Please sign in to comment.