aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index f8a2e77f..b910103e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,11 +8,11 @@ FROM mcr.microsoft.com/dotnet/sdk:5.0 as build
WORKDIR /slskd/
COPY src/slskd .
COPY --from=web web/build wwwroot
-RUN dotnet publish --configuration Release -p:PublishSingleFile=true -p:ReadyToRun=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained --runtime linux-x64
+RUN dotnet publish --configuration Release -p:PublishSingleFile=true -p:ReadyToRun=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained --runtime linux-musl-x64
FROM mcr.microsoft.com/dotnet/runtime-deps:5.0-alpine
WORKDIR /slskd/
-COPY --from=build slskd/bin/Release/net5.0/linux-x64/publish .
+COPY --from=build slskd/bin/Release/net5.0/linux-musl-x64/publish .
RUN mkdir /var/slsk
RUN mkdir /var/slsk/shared