correccion de Dockerfile

This commit is contained in:
2026-01-10 23:25:08 -06:00
parent 389715b4b4
commit 99760c65cc

View File

@@ -13,15 +13,15 @@ WORKDIR /src
COPY . . COPY . .
# Restaurar y compilar # Restaurar y compilar
RUN dotnet restore "Rs_system.csproj" RUN dotnet restore "RS_system.csproj"
RUN dotnet build "Rs_system.csproj" -c $BUILD_CONFIGURATION -o /app/build RUN dotnet build "RS_system.csproj" -c $BUILD_CONFIGURATION -o /app/build
# Publish # Publish
FROM build AS publish FROM build AS publish
RUN dotnet publish "Rs_system.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false RUN dotnet publish "RS_system.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
# Final # Final
FROM base AS final FROM base AS final
WORKDIR /app WORKDIR /app
COPY --from=publish /app/publish . COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Rs_system.dll"] ENTRYPOINT ["dotnet", "RS_system.dll"]