Skip to content

Minify image, add seed override - #2

Merged
JonasLong merged 4 commits into
JonasLong:mainfrom
aimmac23:main
Oct 28, 2026
Merged

JonasLong merged 4 commits into
JonasLong:mainfrom
aimmac23:main

Conversation

@aimmac23

Copy link
Copy Markdown
Contributor

Hi,

I deployed this project to my local Kubernetes cluster. I made a few changes:

  • Reduce image size from 1.19GB to 166MB by changing base image.
  • Add random seed override by environment variable
  • Change default HTTP port to 8080 - the previous default will always need changing for Linux development, and makes deploying harder
  • Add super-minimal Docker image based on Alpine + PyInstaller (~50Mb). I didn't make it the default because it makes the builds more fiddly.

Thanks :)

@JonasLong
JonasLong merged commit adf48d8 into JonasLong:main Oct 28, 2026
@JonasLong

Copy link
Copy Markdown
Owner

Looks good, thanks for the PR!

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