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 #303

Closed
wants to merge 10 commits into from

Conversation

secondfry
Copy link

@secondfry secondfry commented Jun 11, 2023

  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.

@secondfry
Copy link
Author

Closing this as I've started messing with configs.
Opened another one without those changes – #304

@secondfry secondfry closed this Jun 11, 2023
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.

1 participant