first commit

This commit is contained in:
kislovdm
2026-04-02 20:22:29 +03:00
commit f0f41aebb8
11 changed files with 813 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ./src ./src
RUN dotnet restore "src/Telegram2VkBot/Telegram2VkBot.csproj"
RUN dotnet publish "src/Telegram2VkBot/Telegram2VkBot.csproj" -c Release -o /app/publish --no-restore
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
WORKDIR /app
COPY --from=build /app/publish .
ENTRYPOINT ["dotnet", "Telegram2VkBot.dll"]