🐛 Trying to fix something

This commit is contained in:
2025-07-20 04:41:44 +08:00
parent bedb9f81f1
commit bb6d8e317d
2 changed files with 3 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ RUN dotnet build "DysonNetwork.Pass.csproj" -c Release -o /app/build \
# Stage 4: Publish
FROM build AS publish
RUN mkdir -p /app/publish/zh-Hans
RUN dotnet publish "DysonNetwork.Pass.csproj" -c Release -o /app/publish \
-p:TypeScriptCompileBlocked=true \
-p:UseRazorBuildServer=false \

View File

@@ -15,6 +15,8 @@ RUN dotnet build "./DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
# Ensure the target directory for localized resources exists
RUN mkdir -p /app/publish/zh-Hans
RUN dotnet publish "./DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
FROM base AS final