diff --git a/Bootstrap.Admin/Dockerfile b/Bootstrap.Admin/Dockerfile index 0043ca66..04979df9 100644 --- a/Bootstrap.Admin/Dockerfile +++ b/Bootstrap.Admin/Dockerfile @@ -20,4 +20,6 @@ RUN dotnet publish "Bootstrap.Admin.csproj" -c Release -o /app FROM base AS final WORKDIR /app COPY --from=publish /app . +COPY --from=build ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"] +COPY --from=build ["/src/Scripts/Longbow.lic", "./Longbow.lic"] ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"] \ No newline at end of file diff --git a/Bootstrap.Admin/Dockerfile.linux b/Bootstrap.Admin/Dockerfile.linux index c94e7d6b..fb495a9d 100644 --- a/Bootstrap.Admin/Dockerfile.linux +++ b/Bootstrap.Admin/Dockerfile.linux @@ -17,4 +17,6 @@ RUN dotnet publish "Bootstrap.Admin.csproj" -c Release -o /app FROM base AS final WORKDIR /app COPY --from=publish /app . +COPY --from=build ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"] +COPY --from=build ["/src/Scripts/Longbow.lic", "./Longbow.lic"] ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"] \ No newline at end of file