Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Housekeeping – add .dockerignore, add INFO level logging, slim dependencies in Dockerfile #304

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

secondfry
Copy link

  1. Add .dockerignore with /mongodb as the only line, so one won't transfer entire MongoDB as context to bot Python container.
  2. Add INFO level logging with logging.basicConfig(level=logging.INFO) so user won't question themselves if bot is running or not.
  3. Slim dependencies in Dockerfile by installing only necessary Ubuntu packages and lower build time by rearranging Dockerfile instructions – now it caches pip packages install step properly.
  4. Attach bot and config folders as volumes, so one can use docker compose restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants