From 64d6d94bfa7209ff807fcf7fb51f1c99d5a8ec4d Mon Sep 17 00:00:00 2001 From: Piotr Zaniewski Date: Mon, 16 Sep 2024 08:56:05 +0200 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities (#33) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-6913411 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-6913411 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249236 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249265 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249419 Co-authored-by: snyk-bot --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4617108..74e6311 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env WORKDIR /app COPY . ./ RUN dotnet publish -c Release -o output -FROM nginx:1.25.4-alpine +FROM nginx:1.26.0-alpine RUN apk del curl WORKDIR /var/www/web COPY --from=build-env /app/output/wwwroot .