From 8ef446192a83be5d4e3e5022e715849ed237c6ac Mon Sep 17 00:00:00 2001 From: Elias Stepanik <40958815+eliasstepanik@users.noreply.github.com> Date: Wed, 31 May 2023 22:30:08 +0200 Subject: [PATCH] d --- Functions/Dockerfile | 2 +- Functions/Functions.csproj | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Functions/Dockerfile b/Functions/Dockerfile index 80cf58d..b36ee4a 100644 --- a/Functions/Dockerfile +++ b/Functions/Dockerfile @@ -9,7 +9,7 @@ COPY ["Functions/Functions.csproj", "Functions/"] RUN dotnet restore "Functions/Functions.csproj" COPY . . WORKDIR "/src/Functions" -RUN dotnet build "Functions.csproj" -c Release -o /app/build --build-arg source=src +RUN dotnet build "Functions.csproj" -c Release -o /app/build FROM build AS publish RUN dotnet publish "Functions.csproj" -c Release -o /app/publish /p:UseAppHost=false diff --git a/Functions/Functions.csproj b/Functions/Functions.csproj index 778170a..a3fcbc8 100644 --- a/Functions/Functions.csproj +++ b/Functions/Functions.csproj @@ -19,15 +19,15 @@ - - .dockerignore - appsettings.json appsettings.json + + .dockerignore +