doc(docker): update dockerfile for app.buddy.works

This commit is contained in:
Argo Zhang 2019-05-29 08:18:25 +08:00
parent 29cc25c647
commit 165015f001
1 changed files with 2 additions and 2 deletions

View File

@ -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"]