refactor: rearrange file folder
This commit is contained in:
parent
e3f1214d64
commit
8d2a1c7356
|
@ -347,7 +347,7 @@ ASALocalRun/
|
||||||
**/[tT]humbs.db
|
**/[tT]humbs.db
|
||||||
|
|
||||||
# Net Core Keys
|
# Net Core Keys
|
||||||
[Kk]eys/
|
**/[Kk]eys/*.xml
|
||||||
Bootstrap.Admin.xml
|
Bootstrap.Admin.xml
|
||||||
|
|
||||||
###### -- Custom Ignore Section, Make sure all files you add to the git repo are below this line -- ######
|
###### -- Custom Ignore Section, Make sure all files you add to the git repo are below this line -- ######
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
<Target Condition=" '$(TargetFramework)' == 'netcoreapp2.2' " Name="PostBuild" AfterTargets="PostBuildEvent">
|
<Target Condition=" '$(TargetFramework)' == 'netcoreapp2.2' " Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
<Message Text="Copy file -> $(TargetDir)" Importance="high" />
|
<Message Text="Copy file -> $(TargetDir)" Importance="high" />
|
||||||
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\Longbow.lic" SkipUnchangedFiles="true" />
|
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\keys\Longbow.lic" SkipUnchangedFiles="true" />
|
||||||
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/Longbow.lic" SkipUnchangedFiles="true" />
|
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/keys/Longbow.lic" SkipUnchangedFiles="true" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
|
@ -17,5 +17,5 @@ FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app .
|
COPY --from=publish /app .
|
||||||
COPY --from=publish ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"]
|
COPY --from=publish ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"]
|
||||||
COPY --from=publish ["/src/Longbow.lic", "./Longbow.lic"]
|
COPY --from=publish ["/src/keys/Longbow.lic", "./Longbow.lic"]
|
||||||
ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"]
|
ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"]
|
|
@ -17,5 +17,5 @@ FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app .
|
COPY --from=publish /app .
|
||||||
COPY --from=publish ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"]
|
COPY --from=publish ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"]
|
||||||
COPY --from=publish ["/src/Longbow.lic", "./Longbow.lic"]
|
COPY --from=publish ["/src/keys/Longbow.lic", "./Longbow.lic"]
|
||||||
ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"]
|
ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"]
|
Loading…
Reference in New Issue