restructure project

This commit is contained in:
David Claeys
2025-11-28 10:48:10 +01:00
parent 64a9d95746
commit 6ca0511c8f
9 changed files with 5 additions and 10 deletions

1
.gitignore vendored
View File

@@ -9,3 +9,4 @@ bin/
/infobelApi.csproj.user
/infobelApi.csproj.user
/infobelApi/infobelApi.json
/TideFin.Server/TideFin.Server.csproj.user

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>Container (Dockerfile)</ActiveDebugProfile>
</PropertyGroup>
</Project>

View File

@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.13.35828.75 d17.13
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TideFin.Server", "TideFin.Server.csproj", "{A490AE24-F8ED-46CB-9E86-3F22468485E9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TideFin.Server", "TideFin.Server\TideFin.Server.csproj", "{A490AE24-F8ED-46CB-9E86-3F22468485E9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine-amd64 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine-amd64 AS build-env
WORKDIR /App
COPY . ./
# Restore dependencies for your application
@@ -7,7 +7,7 @@ RUN dotnet restore
RUN dotnet publish TideFin.Server --no-restore --self-contained false -c Release -o out /p:UseAppHost=false
FROM git.claeyscloud.com/david/net-base:10.0.0-alpine-22
FROM git.claeyscloud.com/david/net-base:9.0.11-alpine-22
WORKDIR /App
# copy build files from build-stage
COPY --from=build-env /App/out .

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>c40713b7-7556-4b39-b57c-0abf905d7931</UserSecretsId>