choiceof.dev icon indicating copy to clipboard operation
choiceof.dev copied to clipboard

Proposal: setup docker image

Open henryclw opened this issue 3 years ago • 2 comments

I want to have a new feature that use docker image to build and deploy this project, any ideas?

I could create a pull request if this feature is wanted.

henryclw avatar Nov 24 '22 15:11 henryclw

What would be the benefit of this? I'm genuely curious about it so don't hesitate to describe well !

bdebon avatar Nov 25 '22 14:11 bdebon

What would be the benefit of this? I'm genuely curious about it so don't hesitate to describe well !

In my opinion, the most significant benefit of setting up docker image is to let more people deploy this project easily. They don't have to pull the git repo, don't have to install node environment, even don't need to have a lot of knowledge about front-end. The could just run the command

docker pull someone/someexampleimage
docker run -p 80:80 someone/someexampleimage

Then everything is set up.

This also makes the devops much easier, since we could use docker image for CI/CD and k8s and so on.

Feel free to give any feedback if you have any comment about this.

henryclw avatar Nov 27 '22 20:11 henryclw