From de4845bf122583d7737220b1e27a444aa043f6ba Mon Sep 17 00:00:00 2001 From: Louis LABORIE Date: Tue, 14 Jan 2025 11:10:58 +0100 Subject: [PATCH] Try to fix max user instances exception :twisted_rightwards_arrows::twisted_rightwards_arrows: --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6643758..b3b1700 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,4 +26,5 @@ RUN dotnet publish "Server.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:Us FROM base AS final WORKDIR /app COPY --from=publish /app/publish . +RUN sysctl -w fs.inotify.max_user_instances=1024 ENTRYPOINT ["dotnet", "Server.dll"] \ No newline at end of file