ci: satisfy trivy dockerfile checks
PR Checks / test-and-build (pull_request) Successful in 5m12s

Run runtime images as the built-in non-root .NET app user and install Web runtime OS dependencies with --no-install-recommends.
This commit is contained in:
2026-05-12 12:31:20 +03:00
parent 105a051c2f
commit e3fdac15b5
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -33,5 +33,7 @@ WORKDIR /app
# Копируем только AOT-результаты из билда
COPY --from=build /app/publish .
USER $APP_UID
# Запуск скомпилированного AOT бинарного файла напрямую
ENTRYPOINT ["./GmRelay.Bot"]