Compare commits

..

9 Commits

Author SHA1 Message Date
henrik
26e0676608 fix: Changed frontend back to web 2024-12-22 21:22:44 +01:00
henrik
f5ffd33bf8 chore: Adjusted App.json 2024-12-22 21:12:32 +01:00
henrik
9276aa988c ci: Adjustments procfile 2024-12-22 21:06:26 +01:00
henrik
63c6a6f393 chore: Disabled healthcheck 2024-12-22 20:54:40 +01:00
henrik
5e896e112c chore: Changed web to frontend 2024-12-22 20:49:16 +01:00
henrik
fe80932db0 ci: Adjustments to dockerfile 2024-12-22 20:24:26 +01:00
henrik
8dbdbca9a3 ci: Adjustments to dockerfile 2024-12-22 20:03:57 +01:00
henrik
ef3ab20fff ci: Adjustments to dockerfile 2024-12-22 19:56:52 +01:00
henrik
2498c9525d chore: Updated slnx project file 2024-12-22 17:10:34 +01:00
7 changed files with 26 additions and 12 deletions

View File

@@ -1,2 +1,2 @@
web: dotnet /app/pushy/Pushy.dll
web: /app/pushy/Pushy.dll
silo: silo/Pushy.Silo.dll

View File

@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CommitMessageInspectionProfile">
<profile version="1.0">
<inspection_tool class="CommitFormat" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="CommitNamingConvention" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>

View File

@@ -24,6 +24,8 @@ RUN dotnet build "Pushy.Silo.csproj" --no-restore -c $BUILD_CONFIGURATION -o /ap
WORKDIR "/src/Pushy/Pushy"
RUN dotnet build "Pushy.csproj" --no-restore -c $BUILD_CONFIGURATION -o /app/pushy
COPY .dokku/Procfile /app/.dokku/Procfile
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
@@ -37,9 +39,8 @@ RUN dotnet publish "Pushy.csproj" -c $BUILD_CONFIGURATION -o /app/publish/pushy
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
COPY --from=publish /app/.dokku /app/.dokku
RUN pwd
RUN ls /app/pushy/Pushy.dll
RUN ls -la
RUN ls -la silo
RUN ls -la pushy
ENTRYPOINT ["dotnet"]

View File

@@ -1,4 +1,8 @@
<Solution>
<Project Path="Pushy\Pushy.Client\Pushy.Client.csproj" Type="Classic C#" />
<Project Path="Pushy\Pushy\Pushy.csproj" Type="Classic C#" />
<Folder Name="/Frontend/">
<Project Path="Pushy\Pushy.Client\Pushy.Client.csproj" Type="Classic C#" />
<Project Path="Pushy\Pushy\Pushy.csproj" Type="Classic C#" />
</Folder>
<Project Path="Pushy.Domain\Pushy.Domain.csproj" Type="Classic C#" />
<Project Path="Pushy.Silo\Pushy.Silo.csproj" Type="Classic C#" />
</Solution>

View File

@@ -7,7 +7,6 @@
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
<StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<LangVersion>13</LangVersion>
</PropertyGroup>
<ItemGroup>

View File

@@ -28,8 +28,4 @@
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="Grains\" />
</ItemGroup>
</Project>

View File

@@ -1,4 +1,12 @@
{
"formation": {
"web": {
"quantity": 1
},
"silo": {
"quantity": 2
}
},
"healthchecks": {
"web": [
{