Upgraded ShadcnBlazor and Extras to 1.0.8, adjusted styles import paths, and adjusted frontend build process.
Some checks failed
Dev Publish: Nuget / Publish Dev Packages (push) Failing after 23s

This commit is contained in:
2026-01-15 10:59:40 +01:00
parent 7f482fd6c3
commit b4536ca6e9
5 changed files with 15 additions and 8 deletions

View File

@@ -34,8 +34,12 @@ RUN dotnet restore "Hosts/Moonlight.Frontend.Host/Moonlight.Frontend.Host.csproj
COPY . .
# Build styles
WORKDIR /src/Hosts/Moonlight.Frontend.Host/Styles
RUN npm run tailwind-build
# We need to build it before, so the class lists get generated
WORKDIR "/src/Hosts/Moonlight.Frontend.Host"
RUN dotnet build "./Moonlight.Frontend.Host.csproj" -c $BUILD_CONFIGURATION -o /app/build-frontend
WORKDIR "/src/Hosts/Moonlight.Frontend.Host/Styles"
RUN npm run build
# Build projects
WORKDIR "/src/Hosts/Moonlight.Api.Host"