Add pvw-pipliner/Dockerfile
This commit is contained in:
parent
06738c39c5
commit
e6cfb02304
13
pvw-pipliner/Dockerfile
Normal file
13
pvw-pipliner/Dockerfile
Normal file
@ -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"]
|
||||
Loading…
x
Reference in New Issue
Block a user