docker build -t kleber/git_server .
docker run -ti -p 8080:80 -p 2222:22 --name git_server kleber/git_server
command: curl -X POST http://localhost:8080/createrepo/TEST123
result: {"output":"Initialized empty Git repository in /TEST123.git/\n"}%
command: curl -X POST http://localhost:8080/deleterepo/TEST123
result: {"output":"Deleted TEST123"}%
command: curl http://localhost:8080/listrepo
result: {" ":["/TEST123.git"]}%
command: git clone ssh://root@localhost:2222/TEST123.git
result:
Cloning into 'TEST123'... warning: You appear to have cloned an empty repository.
Point your browser to http://localhost:8080/docs