Skip to content

一个最小可用的 dart orm 库 (prisma client dart) 打包为 Docker 镜像的示例。 An example of a minimally available usage of dart orm package(prisma dart client) as a Docker image.

Notifications You must be signed in to change notification settings

NeroSong/dart_orm_docker_example

Repository files navigation

Dart ORM(Prisma Client Dart) Docker Example

这是一个最小可用的 dart orm 库 打包为 Docker 镜像的示例。

只需要在 Dart Server 打包的基础上,生成或添加下列文件即可。具体可看 Dockerfile

  • Prisma Query Engine
  • Prisma 的运行时依赖:libz.so, libgcc_s.so, libssl.so, libcrypto.so

最终的打包镜像文件应该只有 34M 左右。

感谢 Seven Du 提供的帮助!

click to show English version

This is an example of the minimum available dart orm library packaged as a Docker image.

Simply generate or add the following files to the Dart Server package. See [Dockerfile](. /Dockerfile).

  • Prisma Query Engine
  • Prisma's runtime dependencies: libz.so, libgcc_s.so, libssl.so, libcrypto.so

The final packaged image should be about 34M.

Thanks to Seven Du for the help!

Ref

Prisma Client Dart (orm package) Doc


dart server 🩵

About

一个最小可用的 dart orm 库 (prisma client dart) 打包为 Docker 镜像的示例。 An example of a minimally available usage of dart orm package(prisma dart client) as a Docker image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published