From 81cde8f2a8aac72f7c287578e65e2e062533d3d2 Mon Sep 17 00:00:00 2001 From: Rob Wood Date: Thu, 17 Oct 2024 19:37:18 +0100 Subject: [PATCH] Fix(docker): Avoid error 'The configured user limit on the number of inotify instances has been reached' --- Dockerfile.linux | 1 + Dockerfile.linux.arm64 | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile.linux b/Dockerfile.linux index 964d78d6c..75b501ee3 100644 --- a/Dockerfile.linux +++ b/Dockerfile.linux @@ -5,6 +5,7 @@ WORKDIR / ENV XDG_CONFIG_HOME / ENV ASPNETCORE_HTTP_PORTS 80 ENV SERVEROPTIONS__URLS http://*:80 +ENV DOTNET_USE_POLLING_FILE_WATCHER true EXPOSE 80 EXPOSE 25 EXPOSE 143 diff --git a/Dockerfile.linux.arm64 b/Dockerfile.linux.arm64 index 12187eb93..989d1d899 100644 --- a/Dockerfile.linux.arm64 +++ b/Dockerfile.linux.arm64 @@ -5,6 +5,7 @@ WORKDIR / ENV XDG_CONFIG_HOME / ENV ASPNETCORE_HTTP_PORTS 80 ENV SERVEROPTIONS__URLS http://*:80 +ENV DOTNET_USE_POLLING_FILE_WATCHER true EXPOSE 80 EXPOSE 25 EXPOSE 143