Skip to content

Commit

Permalink
fix: TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile to reduce vulner…
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed May 29, 2022
1 parent 28af43f commit 7c160cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN dotnet build "TIS.BlazorApp.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "TIS.BlazorApp.csproj" -c Release -o /app/publish

FROM nginx:stable AS final
FROM nginx:1.22 AS final
WORKDIR /usr/share/nginx/html
COPY --from=publish /app/publish/wwwroot .
COPY --from=build /src/src/TIS.BlazorApp/nginx.conf /etc/nginx/nginx.conf

0 comments on commit 7c160cd

Please sign in to comment.