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
Some checks failed
Dev Publish: Nuget / Publish Dev Packages (push) Failing after 23s
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user