There is a multistage-build Dockerfile that will cover development and production.
https://docs.docker.com/develop/develop-images/multistage-build/
Ideally this will use a build container to create both a development and production Docker image.
Along with that are multiple Docker Compose files for development and production.
There's also a Docker Compose file for Docker Swarm.
All configuration will be handled via Docker Compose, in whatever way makes sense for the use case.