This commit is contained in:
Elias Jansson
2026-01-24 16:52:53 +01:00
parent 7c509ae996
commit 069637f030
2 changed files with 37 additions and 5 deletions
+3 -2
View File
@@ -15,9 +15,10 @@ EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["Aberwyn/Aberwyn.csproj", "."]
COPY ["Aberwyn/Aberwyn.csproj", "Aberwyn/"]
WORKDIR /src/Aberwyn
RUN dotnet restore "Aberwyn.csproj"
COPY . .
COPY Aberwyn/. .
RUN dotnet build "Aberwyn.csproj" -c Release -o /app/build
FROM build AS publish