fixing Dockerfile cmd

master
Drew Bednar 4 years ago
parent 38c5bab42d
commit d75b5f3c66

@ -26,4 +26,11 @@ docker push registry.runcible.io/runcible-metabot:<optional_tag>
``` ```
docker run --rm -e KEYBASE_USERNAME="spoonbot" -e KEYBASE_PAPERKEY="$KEYBASE_PAPERKEY" -it runcible/runcible-metabot docker run --rm -e KEYBASE_USERNAME="spoonbot" -e KEYBASE_PAPERKEY="$KEYBASE_PAPERKEY" -it runcible/runcible-metabot
``` ```
### 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
```

@ -14,5 +14,5 @@ RUN pip install --trusted-host pypi.python.org -r requirements.txt
COPY metabot/ /app COPY metabot/ /app
RUN chown -R keybase:keybase /app RUN chown -R keybase:keybase /app
# Run bot.py when the container launches # Run notifications when the container launches
CMD ["python3", "-m","notifications.py"] CMD ["python3", "notifications.py"]
Loading…
Cancel
Save