chore: stop tracking AI scratch dirs and local screenshots
Deploy Telegram Bot / build-and-push (push) Successful in 5m32s
Deploy Telegram Bot / scan-images (push) Failing after 4s
Deploy Telegram Bot / deploy (push) Has been skipped

The previous commit accidentally pulled in .opencode/tmp/, .playwright-mcp/,
.superpowers/, and a handful of local screenshots/logs because
'git add -A' was used during the 3.9.2 fix. None of these affect the
build or the deploy; the deploy workflow was triggered by the version
bump and ran cleanly. Add them to .gitignore and untrack so the next
contributor doesn't commit them again.
This commit is contained in:
2026-06-08 10:49:41 +03:00
parent 2c9016a383
commit f491727cec
187 changed files with 0 additions and 5760 deletions
-42
View File
@@ -1,42 +0,0 @@
# Этап 1: Сборка с использованием .NET SDK
FROM mcr.microsoft.com/dotnet/sdk:10.0-noble AS build
# Установка зависимостей для Native AOT-компиляции (clang и zlib)
RUN apt-get update && apt-get install -y --no-install-recommends \
clang zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /src
# Копирование проектов
COPY ["src/GmRelay.Bot/GmRelay.Bot.csproj", "src/GmRelay.Bot/"]
COPY ["src/GmRelay.ServiceDefaults/GmRelay.ServiceDefaults.csproj", "src/GmRelay.ServiceDefaults/"]
# Восстановление зависимостей с учетом архитектуры
RUN dotnet restore "src/GmRelay.Bot/GmRelay.Bot.csproj" -a amd64
# Копирование остального исходного кода
COPY src/ src/
WORKDIR /src/src/GmRelay.Bot
# Публикация AOT-бинарного файла
RUN dotnet publish "GmRelay.Bot.csproj" -c Release -a amd64 -o /app/publish
# Этап 2: Runtime (runtime-deps содержит только ОС-зависимости, без .NET Runtime)
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-noble AS final
WORKDIR /app
# Устанавливаем wget для healthcheck
RUN apt-get update && apt-get install -y --no-install-recommends wget \
&& rm -rf /var/lib/apt/lists/*
# Копируем только AOT-результаты из билда
COPY --from=build /app/publish .
EXPOSE 8081
USER $APP_UID
# Запуск скомпилированного AOT бинарного файла напрямую
ENTRYPOINT ["./GmRelay.Bot"]