Build and run your probot-based GitHub App on a docker container.
Copy Dockerfile
and .dockerignore
to your repo's root.
docker build -t probot-alpine .
docker run -p 0.0.0.0:3000:3000 probot-alpine
This script will copy your .env
file to the image. This file contains secrets that shouldn't be shared.