From 7a5d69261cfcf345f41a8ebe99fc856a81d4885d Mon Sep 17 00:00:00 2001 From: Ben Adams Date: Sun, 13 Oct 2024 20:15:38 +0100 Subject: [PATCH] Switch off readyToRun --- src/Nethermind/Nethermind.Runner/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Nethermind/Nethermind.Runner/Dockerfile b/src/Nethermind/Nethermind.Runner/Dockerfile index 026a7a7c4fb..89031856192 100644 --- a/src/Nethermind/Nethermind.Runner/Dockerfile +++ b/src/Nethermind/Nethermind.Runner/Dockerfile @@ -23,4 +23,7 @@ RUN dotnet publish Nethermind.Runner.csproj -c release -o /app/publish -p:UseApp FROM base AS final WORKDIR /app COPY --from=publish /app/publish . + +ENV DOTNET_ReadyToRun 0 + ENTRYPOINT ["dotnet", "nethermind.dll"]