diff --git a/README.md b/README.md index b1a06bd..9676fcc 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,11 @@ docker push registry.runcible.io/runcible-metabot: ``` docker run --rm -e KEYBASE_USERNAME="spoonbot" -e KEYBASE_PAPERKEY="$KEYBASE_PAPERKEY" -it runcible/runcible-metabot -``` \ No newline at end of file +``` + +### Debugging the container + +You need to override the entrypoint script (`/usr/bin/entrypoint.sh`) with something else like just the bash bin. +``` +docker run --rm -e KEYBASE_USERNAME="spoonbot" -e KEYBASE_PAPERKEY="$KEYBASE_PAPERKEY" -it --entrypoint=bash registry.runcible.io/runcible-metabot:0.0.1 +``` diff --git a/docker/Dockerfile b/docker/Dockerfile index 4debdbe..c9ff930 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,5 +14,5 @@ RUN pip install --trusted-host pypi.python.org -r requirements.txt COPY metabot/ /app RUN chown -R keybase:keybase /app -# Run bot.py when the container launches -CMD ["python3", "-m","notifications.py"] \ No newline at end of file +# Run notifications when the container launches +CMD ["python3", "notifications.py"] \ No newline at end of file