aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-02-18 16:52:26 -0600
committerJP Dillingham <jp@dillingham.me>2023-02-18 16:52:26 -0600
commit993627c28188a0c90523be264aa125582495953a (patch)
treef780213c78e17e5e52a6127228077c8a632275cf /Dockerfile
parentb98bf860da1687c8c1d2b102612e9d7677363c02 (diff)
downloadslskd-993627c28188a0c90523be264aa125582495953a.tar.gz
move dotnet extraction to /.net, set permissions
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 5e703cf6..7ce2500b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,13 +44,15 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN bash -c 'mkdir -p /app/{incomplete,downloads} \
- && chmod -R 777 /app'
+ && chmod -R 777 /app \
+ && mkdir -p /.net \
+ && chmod 777 /.net'
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=/slskd/.net \
+ENV DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \
DOTNET_gcServer=0 \
DOTNET_gcConcurrent=1 \
DOTNET_GCHeapHardLimit=1F400000 \