Skip to content

Optimize Docker image - #113

Merged
Gerrrr merged 1 commit into
masterfrom
optimize-dockerfile
Dec 13, 2025
Merged

Gerrrr merged 1 commit into
masterfrom
optimize-dockerfile

Conversation

@Gerrrr

@Gerrrr Gerrrr commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

This commit reduces image size from 782MB to 290mb by:

  1. Switching from python:3.14.1-slim to python:3.14.1-alpine base image.
  2. Using uv to install dependencies instead of pip.
  3. Deleting uv after installation.
  4. Avoiding uv cache.
  5. Cleaning up build artifacts right after installation.

@Gerrrr
Gerrrr merged commit 7663036 into master Dec 13, 2025
6 checks passed
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