mozilla / ssl-config-generator

Mozilla SSL Configuration Generator
https://ssl-config.mozilla.org/
Mozilla Public License 2.0
360 stars 59 forks source link

Add support for local development with Docker #178

Open atombrella opened 2 years ago

atombrella commented 2 years ago

All the node dependencies can clutter your local machine, and you may need different versions of node installed. I first tried with node:16 which causes everything to fail. The instructions for building and running definitely need tweaking as the tag was chosen quickly to just make a POC.

The dockerfile was mainly inspired by the official documentation for NodeJS. https://nodejs.org/en/docs/guides/nodejs-docker-webapp/

Please be aware that there are several dependencies which are listed with npm audit. I'm not sure how much bandwidth you have for this project, but I'd suggest adding dependabot to the project.