add: terminal tool

This commit is contained in:
h z
2025-05-01 23:01:29 +01:00
parent b5bfd52148
commit fc4ef3b0f8
10 changed files with 638 additions and 83 deletions

View File

@@ -1,16 +1,15 @@
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
USER $APP_UID
WORKDIR /app
EXPOSE 8080
EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["*.sln", "."]
COPY ["Alchegos.MCP.csproj", "./"]
RUN dotnet restore "Alchegos.MCP.csproj"
COPY . .
WORKDIR "/src/"
WORKDIR "/src/"
RUN dotnet build "./Alchegos.MCP.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish