Depends on how much infrastructure you have to duplicate. A Database + Prisma alone with the environment and port bindings is a very small dockerfile. Aside from that, you would not use the same config for testing and deployment, even when using docker-compose?