From b272040c8300c236006fc18807dd065404423878 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 28 May 2022 02:10:55 +0000 Subject: [PATCH] fix: TheIdServer.IS4/src/TIS.BlazorApp/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-LIBXML2-2806812 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENLDAP-2808413 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808697 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808704 --- TheIdServer.IS4/src/TIS.BlazorApp/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheIdServer.IS4/src/TIS.BlazorApp/Dockerfile b/TheIdServer.IS4/src/TIS.BlazorApp/Dockerfile index e1aa74e..06b738b 100644 --- a/TheIdServer.IS4/src/TIS.BlazorApp/Dockerfile +++ b/TheIdServer.IS4/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:1.21 AS final +FROM nginx:stable 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