This commit is contained in:
Родитель
445a6db946
Коммит
9dab3bf574
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "testDir",
|
||||
"name": "steeltoestartui",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
@ -33,6 +33,10 @@
|
|||
"eject": "react-scripts eject",
|
||||
"lint": "eslint ./src/"
|
||||
},
|
||||
"engines": {
|
||||
"node": "10.15.x",
|
||||
"npm": "6.4.x"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
|
|
10422
ClientApp/yarn.lock
10422
ClientApp/yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,16 @@
|
|||
FROM hananiel/dotnetcore2.2.101
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
|
||||
RUN dotnet restore
|
||||
|
||||
RUN dotnet publish InitializrApi.csproj -o out
|
||||
|
||||
|
||||
#FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine AS runtime
|
||||
#WORKDIR /app
|
||||
#COPY --from=build /app/src/InitializrApi/out ./
|
||||
COPY .templateengine /root/.templateengine/
|
||||
RUN dotnet new console -o /root/test.zip
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["dotnet", "out/InitializrApi.dll"]
|
|
@ -4,6 +4,6 @@
|
|||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ActiveDebugProfile>InitializrApi</ActiveDebugProfile>
|
||||
<ActiveDebugProfile>IIS Express</ActiveDebugProfile>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -59,7 +59,8 @@ namespace InitializrApi
|
|||
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
spa.UseReactDevelopmentServer(npmScript: "start");
|
||||
// spa.UseReactDevelopmentServer("");
|
||||
spa.UseProxyToSpaDevelopmentServer("https://startui.apps.pcfone.io");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
applications:
|
||||
- name: InitializrApi
|
||||
- name: start.steeltoe.io
|
||||
buildpacks:
|
||||
- dotnet_core_buildpack
|
||||
memory: 512M
|
||||
|
@ -8,4 +8,4 @@ applications:
|
|||
env:
|
||||
ASPNETCORE_ENVIRONMENT: Development
|
||||
services:
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="Templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
Загрузка…
Ссылка в новой задаче