From 7c160cdfb4be203c6471d70a75e0ca3cfd49d40b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 29 May 2022 00:21:43 +0000 Subject: [PATCH] fix: TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-DPKG-2847942 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808697 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808704 - https://snyk.io/vuln/SNYK-DEBIAN11-TIFF-2823291 --- TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile b/TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile index 06b738b..79aa604 100644 --- a/TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile +++ b/TheIdServer.Duende/src/TIS.BlazorApp/Dockerfile @@ -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 \ No newline at end of file