Our Engineering team have produced an application which now needs to be automatically built and deployed using a fully automated CI & CD Process. The team have asked us to help with this solution.
You have been asked to create a docker file which will run the application which is written using react and the lts node version node 14.15.1. The file should:
- Install node modules within the Docker image only
- Run the application (uses npm start) exposed on port
3000
The result will consist of:
- Docker file with the necessary steps
Create a build and release pipeline which:
- Builds the code appropriately using
npm run build - Builds the Docker image
- Deploy the application to three environments
dev,qaandprod
The result will consist of:
- CI&CD code as
yamlusing an an Application Lifecycle Management tool of your choice (preferably AzureDevOps) - Dry-run file in
mdformat wherever the CI/CD code has not been provided as code. - Documentation and explanation where necessary, committed to this repo.