diff --git a/Dockerfile.service b/Dockerfile.service index cd9a6ee..a6b8d3b 100644 --- a/Dockerfile.service +++ b/Dockerfile.service @@ -5,7 +5,10 @@ ARG PROJECT_PATH WORKDIR /src COPY . . -RUN dotnet publish "${PROJECT_PATH}" -c Release -p:SkipAdminUIBuild=true -o /app/publish +RUN dotnet publish "${PROJECT_PATH}" -c Release \ + -p:SkipAdminUIBuild=true \ + -p:DorkNetServiceContainerPublish=true \ + -o /app/publish FROM mcr.microsoft.com/dotnet/aspnet:${DOTNET_VERSION} AS runtime ARG APP_DLL diff --git a/DorkNet.Server/DorkNet.Server.csproj b/DorkNet.Server/DorkNet.Server.csproj index 8739260..f1b8c07 100644 --- a/DorkNet.Server/DorkNet.Server.csproj +++ b/DorkNet.Server/DorkNet.Server.csproj @@ -75,6 +75,15 @@ + + + + + +