feat: made the Docker file Multistaged
Description The existing Dockerfile was good for development environment. But in order to build it fast for production environment I made 2 files Dockerfile.dev and Dockerfile.prod . The production file is taking nearly half the time of development file to build. I also updated the readme.md file.
Resolves #3223
Deploy Preview for asyncapi-website ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 0bf328fa286a6506fdc1ad0601f74e36ad3cad78 |
| Latest deploy log | https://app.netlify.com/sites/asyncapi-website/deploys/66e70af4e8aa74000815cf1d |
| Deploy Preview | https://deploy-preview-3237--asyncapi-website.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
⚡️ Lighthouse report for the changes in this PR:
| Category | Score |
|---|---|
| 🔴 Performance | 48 |
| 🟢 Accessibility | 98 |
| 🟢 Best practices | 92 |
| 🟢 SEO | 100 |
| 🔴 PWA | 33 |
Lighthouse ran on https://deploy-preview-3237--asyncapi-website.netlify.app/
We don't really use docker for prod deployments.
Also, this project (website) isn't supposed to be hosted by someone else on their docker instance in the production environment, dockerfile.prod wouldn't be of greater help here.
Thanks for the PR but we don't need this for now.