Skip to content

Docker image optimizations#222

Merged
incinn merged 15 commits into
mainfrom
feature/221-docker-image-cleanup
May 9, 2026
Merged

Docker image optimizations#222
incinn merged 15 commits into
mainfrom
feature/221-docker-image-cleanup

Conversation

@incinn

@incinn incinn commented May 9, 2026

Copy link
Copy Markdown
Member
  • split out dev requirements from production requirements
  • improve .dockerignore
  • updated multistage build
  • removes oauth2client dependency
  • base image python-alpine rather than python-slim
  • additional build steps to remove anything unnecessary for a production image
  • adds Makefile command to build a production image
  • updates docker-compose to include a production container

closes #221

Previous image size: ~290MB
New image size: ~129MB

@incinn incinn requested a review from zebermeken May 9, 2026 19:58
@incinn incinn merged commit 01a1540 into main May 9, 2026
3 checks passed
@incinn incinn deleted the feature/221-docker-image-cleanup branch May 9, 2026 21:58
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.

Reduce size of Docker image

2 participants