This repository contains different infrastructure components, CI/CD pipelines, automation tools among other resources that are used in different projects here at NaN Labs.
MIT License
42
stars
16
forks
source link
examples: Create a ready to use Docker and Compose example for Nest.js applications #115
Ready to use Dockerfil and compose.yml file for Nest.js apps
Use Case
We need to have a single Dockerfile that uses multistage for development, build, dev-envs and production
Proposed Solution
Create a example at examples/compose-nestjs with a multistage Dockerfile with the stages development, build, dev-envs and production, and a compose.yml file to easily test it
Also use dive to test the efficiency of the image for production build with CI=true dive <image-tag>
Describe the feature
Ready to use Dockerfil and compose.yml file for Nest.js apps
Use Case
We need to have a single Dockerfile that uses multistage for development, build, dev-envs and production
Proposed Solution
Create a example at
examples/compose-nestjs
with a multistage Dockerfile with the stages development, build, dev-envs and production, and acompose.yml
file to easily test itAlso use dive to test the efficiency of the image for production build with
CI=true dive <image-tag>
Other Information
You can install dive from here https://github.com/wagoodman/dive
Acknowledgements
Version used
-
Environment details (OS name and version, etc.)
-