mirror of
https://github.com/eliasstepanik/SimpleFunctions.git
synced 2026-01-11 21:58:31 +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"
|
||||
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
|
||||
|
||||
@ -19,15 +19,15 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\.dockerignore">
|
||||
<Link>.dockerignore</Link>
|
||||
</Content>
|
||||
<Content Update="appsettings.Development.json">
|
||||
<DependentUpon>appsettings.json</DependentUpon>
|
||||
</Content>
|
||||
<Content Update="appsettings.Production.json">
|
||||
<DependentUpon>appsettings.json</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="..\.dockerignore">
|
||||
<Link>.dockerignore</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user