Skip to content

Commit

Permalink
fix: src/Aguacongas.TheIdServer.BlazorApp/Dockerfile to reduce vulner…
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Oct 25, 2023
1 parent 7262640 commit 58595f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aguacongas.TheIdServer.BlazorApp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN dotnet build "Aguacongas.TheIdServer.BlazorApp.csproj" -c Release -o /app/bu
FROM build AS publish
RUN dotnet publish "Aguacongas.TheIdServer.BlazorApp.csproj" -c Release -o /app/publish -p:FileVersion=$FILE_VERSION -p:SourceRevisionId=$SOURCE_VERSION

FROM nginx:1.25.2 AS final
FROM nginx:1.25.3 AS final
WORKDIR /usr/share/nginx/html
COPY --from=publish /app/publish/wwwroot .
COPY --from=build /src/src/Aguacongas.TheIdServer.BlazorApp/nginx.conf /etc/nginx/nginx.conf

0 comments on commit 58595f9

Please sign in to comment.