edit dockerFile
parent
d5834894d0
commit
ebeb39254f
|
@ -17,6 +17,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Brizco.Repository", "Berizc
|
||||||
EndProject
|
EndProject
|
||||||
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{9FEFFA46-5403-42CD-87A4-9B2AC30BD7B6}"
|
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{9FEFFA46-5403-42CD-87A4-9B2AC30BD7B6}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConfigFiles", "ConfigFiles", "{B0739DDF-6D6A-4975-9A71-C908B3E16102}"
|
||||||
|
ProjectSection(SolutionItems) = preProject
|
||||||
|
.version = .version
|
||||||
|
Dockerfile = Dockerfile
|
||||||
|
global.json = global.json
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
FROM registry.vnfco.ir/library/dotnet/aspnet:7.0 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
|
||||||
ENV ASPNETCORE_URLS=http://0.0.0.0:8010
|
ENV ASPNETCORE_URLS=http://0.0.0.0:8010
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 8010
|
EXPOSE 8010
|
||||||
|
|
||||||
FROM registry.vnfco.ir/library/dotnet/sdk:7.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["Berizco.Api/Brizco.Api.csproj", "Brizco.Api/"]
|
COPY ["Berizco.Api/Brizco.Api.csproj", "Brizco.Api/"]
|
||||||
RUN dotnet restore "Brizco.Api/Brizco.Api.csproj"
|
RUN dotnet restore "Brizco.Api/Brizco.Api.csproj"
|
||||||
|
|
28
NuGet.config
28
NuGet.config
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<configuration>
|
|
||||||
<config>
|
|
||||||
<add key='maxHttpRequestsPerSource' value='10' />
|
|
||||||
</config>
|
|
||||||
<packageSources>
|
|
||||||
<clear />
|
|
||||||
<add key="VnfRepos" value="https://packages.vnfco.ir/repository/nuget-group/index.json" />
|
|
||||||
<!-- <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> -->
|
|
||||||
</packageSources>
|
|
||||||
|
|
||||||
<packageSourceCredentials>
|
|
||||||
<VnfRepos>
|
|
||||||
<add key="Username" value="runner" />
|
|
||||||
<add key="ClearTextPassword" value="22102210aA" />
|
|
||||||
</VnfRepos>
|
|
||||||
</packageSourceCredentials>
|
|
||||||
</configuration>
|
|
||||||
|
|
||||||
<!-- <configuration>
|
|
||||||
<config>
|
|
||||||
<add key='maxHttpRequestsPerSource' value='10' />
|
|
||||||
</config>
|
|
||||||
<packageSources>
|
|
||||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
|
||||||
</packageSources>
|
|
||||||
</configuration> -->
|
|
Loading…
Reference in New Issue