Fix 1717
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 24m50s
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 24m50s
This commit is contained in:
@@ -27,7 +27,6 @@ RUN dotnet publish "GestionIntegral.Api.csproj" -c Release -o /app/publish /p:Us
|
||||
# Usamos la imagen de runtime de ASP.NET, que es mucho más ligera que el SDK.
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
|
||||
# Instalar dependencias de Chromium en la imagen de ASP.NET (basada en Debian)
|
||||
RUN apt-get update && apt-get install -y \
|
||||
@@ -41,6 +40,8 @@ RUN apt-get update && apt-get install -y \
|
||||
--no-install-recommends && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=publish /app/publish .
|
||||
|
||||
# El puerto en el que la API escuchará DENTRO del contenedor.
|
||||
# Usaremos 8080 para evitar conflictos si en el futuro corres algo en el puerto 80.
|
||||
EXPOSE 8080
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<EnableDefaultContentItems>false</EnableDefaultContentItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -22,7 +21,11 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Controllers\Reportes\Templates\**\*.cshtml">
|
||||
<!-- Esto le dice a MSBuild que busque todos los archivos .rdlc -->
|
||||
<Content Include="Controllers\Reportes\RDLC\**\*.rdlc">
|
||||
<!-- Esto asegura que los archivos se copien a la carpeta de publicación -->
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user