gabrielcsapo / node-git-server

🎡 A configurable git server written in Node.js
https://gabrielcsapo.github.io/node-git-server
MIT License
253 stars 73 forks source link

Create Dockerfile #76

Closed delfer closed 2 years ago

delfer commented 4 years ago

This is the Dockerfile to run the example. It can be run anywhere with just docker build -t node-git-server . You can also make it to auto-build on hub.docker.com. And in this case, it can be better to remove git clone https://github.com/gabrielcsapo/node-git-server.git from this Dockerfile.

willstott101 commented 3 years ago

Cloning the repo in the dockerfile definitely seems unhelpful, and would make it difficult to test changes to the source, and impossible to try out different versions.