调整配置文件加载逻辑
parent
57e5056d12
commit
2869c2d253
|
|
@ -27,7 +27,7 @@ RUN git status
|
||||||
RUN git log -1
|
RUN git log -1
|
||||||
|
|
||||||
# 进入项目所在目录并恢复和发布项目
|
# 进入项目所在目录并恢复和发布项目
|
||||||
WORKDIR /source/newgaokao/New_College.Api
|
WORKDIR /source/new_college.api
|
||||||
RUN dotnet restore
|
RUN dotnet restore
|
||||||
RUN dotnet publish -c release -o /app --no-restore -f net6.0
|
RUN dotnet publish -c release -o /app --no-restore -f net6.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\.editorconfig" Link=".editorconfig" />
|
<None Include="..\.editorconfig" Link=".editorconfig" />
|
||||||
<None Include="appsettings.json">
|
<None Include="appsettings.json">
|
||||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
<None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" />
|
<None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" />
|
||||||
<None Include="wwwroot\BlogCore.Data.json\Department.tsv" />
|
<None Include="wwwroot\BlogCore.Data.json\Department.tsv" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue