Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr1215 and snyk-bot authored Sep 16, 2024
1 parent 64d6d94 commit 50a8e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.26.0-alpine
FROM nginx:1.26.1-alpine
RUN apk del curl
WORKDIR /var/www/web
COPY --from=build-env /app/output/wwwroot .
Expand Down

0 comments on commit 50a8e55

Please sign in to comment.