mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 08:39:17 +08:00
- create dockerfile and makefile for building docker image
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
DOCKER_IMAGE_NAME=adnanh/webhook
|
||||
CONTAINER_NAME=webhook
|
||||
|
||||
docker-build: Dockerfile
|
||||
docker build --force-rm=true --tag=${DOCKER_IMAGE_NAME} .
|
||||
|
||||
docker-run:
|
||||
@echo "Here's an example command on how to run a webhook container:"
|
||||
@echo "docker run -d -p 9000:9000 -v /etc/webhook:/etc/webhook --name=${CONTAINER_NAME} \\"
|
||||
@echo " ${DOCKER_IMAGE_NAME} -verbose -hooks=/etc/webhook/hooks.json -hotreload"
|
||||
Reference in New Issue
Block a user