aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDevin Buhl <onedr0p@users.noreply.github.com>2024-09-02 11:03:50 -0400
committerGitHub <noreply@github.com>2024-09-02 11:03:50 -0400
commit89054db912265ec3be538f70f986385dbf399ae2 (patch)
treeb817c031190b79587c1bca7a17b0bad33d9965a2 /Dockerfile
parented4ce0829ddab44af153280ba5dea63f53da6603 (diff)
downloadslskd-89054db912265ec3be538f70f986385dbf399ae2.tar.gz
fix(docker): Allow container to be ran as read-only filesystem
# https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518 # https://github.com/dotnet/runtime/issues/9336
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 07278892..feedbee1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -58,7 +58,8 @@ VOLUME /app
HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health
-ENV DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \
+ENV COMPlus_EnableDiagnostics="0" \
+ DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \
DOTNET_gcServer=0 \
DOTNET_gcConcurrent=1 \
DOTNET_GCHeapHardLimit=1F400000 \