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 +