diff --git a/.gitignore b/.gitignore index 12a2548..20abead 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,9 @@ +/out + + + + + ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## diff --git a/Dockerfile b/Dockerfile index 4ac778b..8a2e1c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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/