From 758cb653d97bb8fce43145adc0e8075e24f82d06 Mon Sep 17 00:00:00 2001 From: ruberoid Date: Thu, 16 Oct 2025 23:35:34 +0400 Subject: [PATCH] Returned back dockerfiles source as echo commands. --- src/Nocr.TelegramListener.Host/Dockerfile | 34 +++++++++++------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/src/Nocr.TelegramListener.Host/Dockerfile b/src/Nocr.TelegramListener.Host/Dockerfile index 2a8aedb..72cac05 100644 --- a/src/Nocr.TelegramListener.Host/Dockerfile +++ b/src/Nocr.TelegramListener.Host/Dockerfile @@ -18,25 +18,23 @@ RUN apt-get update && \ COPY . . -# Create NuGet.Config using cat with heredoc +# Create NuGet.Config RUN mkdir -p /root/.nuget/NuGet && \ - cat > /root/.nuget/NuGet/NuGet.Config <<'EOF' - - - - - - - - - - - - - - - -EOF + echo '' > /root/.nuget/NuGet/NuGet.Config && \ + echo '' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo ' ' >> /root/.nuget/NuGet/NuGet.Config && \ + echo '' >> /root/.nuget/NuGet/NuGet.Config # Publish directly (restore + build + publish in one step) WORKDIR "/src/src/Nocr.TelegramListener.Host"