🔨 Trying to fix build...

This commit is contained in:
2025-08-04 02:42:28 +08:00
parent 473155b68d
commit b7f853d84f

View File

@@ -58,6 +58,7 @@ RUN dotnet build "DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/bu
FROM build AS publish FROM build AS publish
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
# Ensure the target directory for localized resources exists # Ensure the target directory for localized resources exists
RUN rm -rf /src/DysonNetwork.Pass/Client
RUN mkdir -p /app/publish/zh-Hans RUN mkdir -p /app/publish/zh-Hans
RUN dotnet publish "DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false RUN dotnet publish "DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false