(feat): solution update
This commit is contained in:
parent
ddb13e4184
commit
b9e2dd6047
8743
clientapp/yarn.lock
8743
clientapp/yarn.lock
File diff suppressed because it is too large
Load Diff
@ -22,4 +22,8 @@
|
||||
**/secrets.dev.yaml
|
||||
**/values.dev.yaml
|
||||
LICENSE
|
||||
README.md
|
||||
README.md
|
||||
|
||||
**/node_modules
|
||||
**/npm-debug.log
|
||||
build
|
||||
3
webapi/ClientApp/.dockerignore
Normal file
3
webapi/ClientApp/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!obj\Docker\publish\*
|
||||
!obj\Docker\empty\
|
||||
100
webapi/ClientApp/ClientApp.njsproj
Normal file
100
webapi/ClientApp/ClientApp.njsproj
Normal file
@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
<Name>ClientApp</Name>
|
||||
<RootNamespace>ClientApp</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>8531f7e2-07d6-4ec5-b3e6-316bbf4499e4</ProjectGuid>
|
||||
<ProjectHome>.</ProjectHome>
|
||||
<StartupFile>
|
||||
</StartupFile>
|
||||
<StartWebBrowser>True</StartWebBrowser>
|
||||
<SearchPath>
|
||||
</SearchPath>
|
||||
<WorkingDirectory>.</WorkingDirectory>
|
||||
<OutputPath>.</OutputPath>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<ProjectTypeGuids>{3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}</ProjectTypeGuids>
|
||||
<NodejsPort>1337</NodejsPort>
|
||||
<EnableTypeScript>true</EnableTypeScript>
|
||||
<StartWebBrowser>true</StartWebBrowser>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include=".dockerignore">
|
||||
<SubType>Content</SubType>
|
||||
<DependentUpon>Dockerfile</DependentUpon>
|
||||
</Content>
|
||||
<None Include="Dockerfile" />
|
||||
<Content Include="tsconfig.json" />
|
||||
<Content Include="package.json" />
|
||||
<Content Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="src\" />
|
||||
<Folder Include="src\components\" />
|
||||
<Folder Include="src\functions\" />
|
||||
<Folder Include="src\layouts\" />
|
||||
<Folder Include="src\models\" />
|
||||
<Folder Include="src\pages\" />
|
||||
<Folder Include="src\store\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<TypeScriptCompile Include="src\App.test.tsx" />
|
||||
<TypeScriptCompile Include="src\App.tsx" />
|
||||
<TypeScriptCompile Include="src\index.tsx" />
|
||||
<TypeScriptCompile Include="src\react-app-env.d.ts" />
|
||||
<TypeScriptCompile Include="src\registerServiceWorker.ts" />
|
||||
<TypeScriptCompile Include="src\restClient.ts" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VSToolsPath)\Node.js Tools\Microsoft.NodejsToolsV2.targets" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
<WebProjectProperties>
|
||||
<UseIIS>False</UseIIS>
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:48022/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>True</UseCustomServer>
|
||||
<CustomServerUrl>http://localhost:1337</CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" User="">
|
||||
<WebProjectProperties>
|
||||
<StartPageUrl>
|
||||
</StartPageUrl>
|
||||
<StartAction>CurrentPage</StartAction>
|
||||
<AspNetDebugging>True</AspNetDebugging>
|
||||
<SilverlightDebugging>False</SilverlightDebugging>
|
||||
<NativeDebugging>False</NativeDebugging>
|
||||
<SQLDebugging>False</SQLDebugging>
|
||||
<ExternalProgram>
|
||||
</ExternalProgram>
|
||||
<StartExternalURL>
|
||||
</StartExternalURL>
|
||||
<StartCmdLineArguments>
|
||||
</StartCmdLineArguments>
|
||||
<StartWorkingDirectory>
|
||||
</StartWorkingDirectory>
|
||||
<EnableENC>False</EnableENC>
|
||||
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
21
webapi/ClientApp/Dockerfile
Normal file
21
webapi/ClientApp/Dockerfile
Normal file
@ -0,0 +1,21 @@
|
||||
#Depending on the operating system of the host machines(s) that will build or run the containers, the image specified in the FROM statement may need to be changed.
|
||||
#For more information, please see https://aka.ms/containercompat
|
||||
|
||||
FROM node:16 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
FROM node:16 AS build
|
||||
WORKDIR /src
|
||||
COPY ["ClientApp/package.json", "ClientApp/"]
|
||||
WORKDIR "/src/ClientApp"
|
||||
COPY . .
|
||||
RUN npm install
|
||||
RUN npm install --location=global react-scripts
|
||||
|
||||
#FROM base AS final
|
||||
#WORKDIR "/src/ClientApp"
|
||||
#COPY --from=build /app/publish .
|
||||
|
||||
ENTRYPOINT ["npm", "run", "start"]
|
||||
3
webapi/ClientApp/README.md
Normal file
3
webapi/ClientApp/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# ClientApp
|
||||
|
||||
|
||||
27941
webapi/ClientApp/package-lock.json
generated
Normal file
27941
webapi/ClientApp/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user