first commit

This commit is contained in:
2026-01-10 23:14:51 -06:00
commit 389715b4b4
503 changed files with 98244 additions and 0 deletions

27
RS_system/Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
# Runtime
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
WORKDIR /app
EXPOSE 8080
EXPOSE 8081
# Build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
# Copiar TODO el proyecto
COPY . .
# Restaurar y compilar
RUN dotnet restore "Rs_system.csproj"
RUN dotnet build "Rs_system.csproj" -c $BUILD_CONFIGURATION -o /app/build
# Publish
FROM build AS publish
RUN dotnet publish "Rs_system.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
# Final
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Rs_system.dll"]