feature/user-authentication #2

Merged
lasserh merged 31 commits from feature/user-authentication into main 2026-06-07 13:17:55 +02:00
Showing only changes of commit 81f08f9f3b - Show all commits

View file

@ -9,18 +9,19 @@
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
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 --runtime linux-x64 -o /app/build
# Publish the application # Publish the application for Linux
RUN dotnet publish "GermanApp.csproj" -c Release -o /app/publish \ RUN dotnet publish "GermanApp.csproj" -c Release -o /app/publish \
--no-restore \ --no-restore \
--runtime linux-x64 \
-p:PublishReadyToRun=true \ -p:PublishReadyToRun=true \
-p:PublishSingleFile=false \ -p:PublishSingleFile=false \
-p:PublishTrimmed=true -p:PublishTrimmed=true