pr-bot

Docker (Development)

Installation

Build and run the app locally using the Dockerfile in this repository.

Build

docker build -t pr-notificator:latest .

Run (env-file)

docker run -d --name pr-notificator \
  --env-file .env.prod.local \
  -p 8080:80 \
  pr-notificator:latest

Run (bind-mount env files)

docker run -d --name pr-notificator \
  -p 8080:80 \
  -v "$PWD/.env.prod:/app/.env.prod:ro" \
  -v "$PWD/.env.prod.local:/app/.env.prod.local:ro" \
  pr-notificator:latest

Troubleshooting