This commit is contained in:
Elias Jansson
2025-06-03 00:04:28 +02:00
parent 7c509ae996
commit 069637f030
2 changed files with 37 additions and 5 deletions

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