Skip to content

Commit

Permalink
fixed docker image to aspnet
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeRoyManea committed Apr 18, 2024
1 parent e7a2482 commit bdfb36e
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 @@ -12,7 +12,7 @@ RUN dotnet build "TraefikExporter/TraefikExporter.csproj" -c Release
RUN dotnet publish "TraefikExporter/TraefikExporter.csproj" -c Release -o out

# Build runtime image
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
WORKDIR /app
COPY --from=build /app/out ./
ENTRYPOINT ["dotnet", "TraefikExporter.dll"]
Expand Down

0 comments on commit bdfb36e

Please sign in to comment.