Skip to content

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