aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-09-02 13:25:07 -0500
committerGitHub <noreply@github.com>2024-09-02 13:25:07 -0500
commitf90167f7e790ae7ae05f8d5abc250c9693cf4bae (patch)
tree44c6b1f0d7ced493c81c4651b546ed473d263446
parented4ce0829ddab44af153280ba5dea63f53da6603 (diff)
parent900c5e1334344aba1c8126dab255f929e00088ba (diff)
downloadslskd-f90167f7e790ae7ae05f8d5abc250c9693cf4bae.tar.gz
Merge pull request #1196 from onedr0p/patch-1
fix(docker): Allow container to be ran on read-only filesystem and non-root user
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 07278892..325d92a6 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 \