Skip to content

Commit 7ad79f5

Browse files
Merge pull request #14 from monperrus/patch-1
Update Docker instructions in README.rst
2 parents 37c0ec9 + 7e27023 commit 7ad79f5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,10 @@ To deploy in a Docker container you have to expose the port 5000, for example
142142
with the following command:
143143

144144
::
145-
146-
docker run -d --name webhooks -p 5000:5000 python-github-webhooks
145+
146+
git clone http://github.com/carlos-jenkins/python-github-webhooks.git
147+
docker build -t carlos-jenkins/python-github-webhooks python-github-webhooks
148+
docker run -d --name webhooks -p 5000:5000 carlos-jenkins/python-github-webhooks
147149

148150
You can also mount volume to setup the ``hooks/`` directory, and the file
149151
``config.json``:

0 commit comments

Comments
 (0)