diff --git a/pvw-pipliner/Dockerfile b/pvw-pipliner/Dockerfile new file mode 100644 index 0000000..bb4cdad --- /dev/null +++ b/pvw-pipliner/Dockerfile @@ -0,0 +1,13 @@ +FROM ci.pvw.tn.tngrp.ru/tnt_docker/etnt/base-images/dotnet-v7-sdk:v7.0.410 +COPY ./ /tmp/ +RUN dotnet nuget locals all --clear +RUN dotnet restore ./tmp/App01.csproj --configfile ./tmp/nuget.config --no-cache --interactive --verbosity minimal --force +RUN dotnet build ./tmp/App01.csproj -c Release -o /tmp/build +RUN dotnet publish ./tmp/App01.csproj -c Release -o /tmp/publish /p:UseAppHost=false +RUN ls -la tmp +RUN ls -la tmp/build +RUN rm -rf /tmp/publish/nuget.config && rm -rf /tmp/publish/appsettings.json +RUN ls -la tmp/publish +# RUN tar cfz distr.tar.gz tmp +# Запускаем приложение +CMD ["sleep", "100"] \ No newline at end of file