Skip to content

Commit 3c6e24a

Browse files
MariiaNazarchukMariiaNazarchuk
authored andcommitted
add copy the published output into the runtime
1 parent c4c02e1 commit 3c6e24a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile.dbupdate

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ RUN dotnet publish ./DbUpdate/DbUpdate.csproj -c Release -o /app/publish
2323
FROM mcr.microsoft.com/dotnet/runtime:7.0 AS runtime
2424
WORKDIR /app
2525

26+
COPY --from=publish /app/publish .
27+
2628
# Copy the ScriptsMigration folder from the build stage to the runtime image
2729
COPY --from=build /tmp/ScriptsMigration /app/ScriptsMigration/
2830

0 commit comments

Comments
 (0)