Added additional env configuration options for api server. Changed the tailwind run command to use the non-interactive build

This commit is contained in:
2025-05-22 20:44:20 +02:00
parent 7ed0ad5c6b
commit 03a51815e2
3 changed files with 8 additions and 4 deletions

View File

@@ -72,13 +72,13 @@ RUN dotnet nuget remove source moonlightNuget
RUN dotnet nuget add source /src/pluginNuget -n pluginNuget
# Prepare moonlight for compilation
RUN dotnet moonlight prebuild /src/Moonlight /src/pluginNuget
RUN dotnet moonlight prebuild /src/Moonlight /src/pluginNuget
FROM build-plugins AS build-final
# Build tailwind
WORKDIR /src/Moonlight/Moonlight.Client/Styles
RUN npm run tailwind
RUN npm run tailwind-build
# Build moonlight
WORKDIR "/src/Moonlight/Moonlight.ApiServer"