mirror of
https://github.com/eliasstepanik/SimpleFunctions.git
synced 2026-01-17 08:28:27 +00:00
d
This commit is contained in:
parent
965924ea19
commit
8ef446192a
@ -9,7 +9,7 @@ COPY ["Functions/Functions.csproj", "Functions/"]
|
|||||||
RUN dotnet restore "Functions/Functions.csproj"
|
RUN dotnet restore "Functions/Functions.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/Functions"
|
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
|
FROM build AS publish
|
||||||
RUN dotnet publish "Functions.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
RUN dotnet publish "Functions.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||||
|
|||||||
@ -19,15 +19,15 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="..\.dockerignore">
|
|
||||||
<Link>.dockerignore</Link>
|
|
||||||
</Content>
|
|
||||||
<Content Update="appsettings.Development.json">
|
<Content Update="appsettings.Development.json">
|
||||||
<DependentUpon>appsettings.json</DependentUpon>
|
<DependentUpon>appsettings.json</DependentUpon>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Update="appsettings.Production.json">
|
<Content Update="appsettings.Production.json">
|
||||||
<DependentUpon>appsettings.json</DependentUpon>
|
<DependentUpon>appsettings.json</DependentUpon>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="..\.dockerignore">
|
||||||
|
<Link>.dockerignore</Link>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user