From aca79b0e69c15f651dcd0b684722af928b5e2925 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 12 Aug 2023 20:44:24 +0100 Subject: [PATCH] chore: use correct project name in Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb9566a..2fe3fcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,16 +5,16 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src -COPY ["oliverbooth.dev/oliverbooth.dev.csproj", "oliverbooth.dev/"] +COPY ["OliverBooth/OliverBooth.csproj", "OliverBooth/"] RUN dotnet restore "oliverbooth.dev/oliverbooth.dev.csproj" COPY . . -WORKDIR "/src/oliverbooth.dev" -RUN dotnet build "oliverbooth.dev.csproj" -c Release -o /app/build +WORKDIR "/src/OliverBooth" +RUN dotnet build "OliverBooth.csproj" -c Release -o /app/build FROM build AS publish -RUN dotnet publish "oliverbooth.dev.csproj" -c Release -o /app/publish /p:UseAppHost=false +RUN dotnet publish "OliverBooth.csproj" -c Release -o /app/publish /p:UseAppHost=false FROM base AS final WORKDIR /app COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "oliverbooth.dev.dll"] +ENTRYPOINT ["dotnet", "OliverBooth.dll"]