You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env
WORKDIR /app
# Esto va a copiar el archivo csproj e instala/restaura las dependencias (Via gestor de paquetes NUGET)
COPY *.csproj ./
RUN dotnet restore
# Esto copia los archivos del proyecto y crea el lanzamiento (release)
COPY . ./
RUN dotnet publish -c Release -o out
# Si este último comando se ejecuta directamente desde la consola, creará una carpeta con el nombre out y en esta carpeta se alojará la versión de producción