Ajuste de Dockerfile API v1
Some checks failed
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Failing after 23m26s

This commit is contained in:
Leandro Hernan Rojas 2025-02-01 11:17:52 -03:00
parent 0277fd7381
commit 473c535365

View File

@ -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/"]