diff --git a/OliverBooth/Dockerfile b/OliverBooth/Dockerfile index 40e2a42..b93dbc3 100644 --- a/OliverBooth/Dockerfile +++ b/OliverBooth/Dockerfile @@ -15,11 +15,9 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build COPY --from=build-deps /src/OliverBooth/wwwroot /src/OliverBooth/wwwroot WORKDIR /src COPY ["OliverBooth/OliverBooth.csproj", "OliverBooth/"] -RUN dotnet restore "OliverBooth/OliverBooth.csproj" COPY . . WORKDIR "/src/OliverBooth" -RUN dotnet build "OliverBooth.csproj" -c Release -o /app/build FROM build AS publish RUN dotnet publish "OliverBooth.csproj" -c Release -o /app/publish /p:UseAppHost=false