This commit is contained in:
Elias Stepanik 2023-05-31 22:25:44 +02:00
parent 7266eb43d5
commit 965924ea19

View File

@ -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
RUN dotnet build "Functions.csproj" -c Release -o /app/build --build-arg source=src
FROM build AS publish
RUN dotnet publish "Functions.csproj" -c Release -o /app/publish /p:UseAppHost=false