From 473c5353656ca35ea091933a45e3ab087f07cc62 Mon Sep 17 00:00:00 2001 From: Leandro Hernan Rojas Date: Sat, 1 Feb 2025 11:17:52 -0300 Subject: [PATCH] Ajuste de Dockerfile API v1 --- phronCare.API/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phronCare.API/Dockerfile b/phronCare.API/Dockerfile index bbe50e3..9fa5b95 100644 --- a/phronCare.API/Dockerfile +++ b/phronCare.API/Dockerfile @@ -8,10 +8,11 @@ EXPOSE 8080 EXPOSE 8081 # Instalación de Node.js en la fase base (si lo necesitas para el contenedor final) -RUN apt-get update && apt-get install -y nodejs npm +#RUN apt-get update && apt-get install -y nodejs npm # Esta fase se usa para compilar el proyecto de servicio -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +#FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build ARG BUILD_CONFIGURATION=Debug WORKDIR /src COPY ["phronCare.API/phronCare.API.csproj", "phronCare.API/"]