added migrations to ensure db creation etc.

This commit is contained in:
2026-05-14 02:11:01 +02:00
parent 233da7e7ea
commit f0fdc93316
6 changed files with 136 additions and 5 deletions
+3 -3
View File
@@ -4,10 +4,10 @@ EXPOSE 80
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
WORKDIR /src
COPY *.csproj ./
RUN dotnet restore
COPY demo001.csproj ./
RUN dotnet restore demo001.csproj
COPY . .
RUN dotnet publish -c Release -o /app/publish
RUN dotnet publish demo001.csproj -c Release -o /app/publish
FROM base AS final
WORKDIR /app