From 165015f0018c7c5fe9c1326326304ee38dccda73 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 29 May 2019 08:18:25 +0800 Subject: [PATCH] doc(docker): update dockerfile for app.buddy.works --- Bootstrap.Admin/{Dockerfile.linux => Linux.Dockerfile} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename Bootstrap.Admin/{Dockerfile.linux => Linux.Dockerfile} (75%) diff --git a/Bootstrap.Admin/Dockerfile.linux b/Bootstrap.Admin/Linux.Dockerfile similarity index 75% rename from Bootstrap.Admin/Dockerfile.linux rename to Bootstrap.Admin/Linux.Dockerfile index fb495a9d..3df692f5 100644 --- a/Bootstrap.Admin/Dockerfile.linux +++ b/Bootstrap.Admin/Linux.Dockerfile @@ -17,6 +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"] +COPY --from=publish ["/src/Bootstrap.Admin/BootstrapAdmin.db", "./BootstrapAdmin.db"] +COPY --from=publish ["/src/Scripts/Longbow.lic", "./Longbow.lic"] ENTRYPOINT ["dotnet", "Bootstrap.Admin.dll"] \ No newline at end of file