🐛 Trying to fix something
This commit is contained in:
@@ -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 \
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user