feature/user-authentication #2

Merged
lasserh merged 31 commits from feature/user-authentication into main 2026-06-07 13:17:55 +02:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit eb377b1aed - Show all commits

View file

@ -9,14 +9,14 @@
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src WORKDIR /src
# Copy project file and restore dependencies # Copy project file and restore dependencies for Linux-x64
COPY ["GermanApp.csproj", "."] COPY ["GermanApp.csproj", "."]
RUN dotnet restore "GermanApp.csproj" RUN dotnet restore "GermanApp.csproj" --runtime linux-x64
# Copy everything else and build # Copy everything else and build
COPY . . COPY . .
WORKDIR "/src" WORKDIR "/src"
RUN dotnet build "GermanApp.csproj" -c Release -o /app/build RUN dotnet build "GermanApp.csproj" -c Release -o /app/build --runtime linux-x64
# Publish the application # Publish the application
RUN dotnet publish "GermanApp.csproj" -c Release -o /app/publish \ RUN dotnet publish "GermanApp.csproj" -c Release -o /app/publish \

View file

@ -2,6 +2,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup> </PropertyGroup>