Skip to content

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

Open
secondfry wants to merge 7 commits into
father-bot:mainfrom
secondfry:feature/housekeeping
Open

Housekeeping – add .dockerignore, add INFO level logging, slim dependencies in Dockerfile#304
secondfry wants to merge 7 commits into
father-bot:mainfrom
secondfry:feature/housekeeping

Conversation

@secondfry

Copy link
Copy Markdown
  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.

@father-bot
father-bot force-pushed the main branch 4 times, most recently from fd778d9 to 755f0a7 Compare June 14, 2026 09:30
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