Skip to content

Minify image, add seed override - #2

Open
aimmac23 wants to merge 4 commits into
JonasLong:mainfrom
aimmac23:main
Open

aimmac23 wants to merge 4 commits into
JonasLong:mainfrom
aimmac23:main

Conversation

@aimmac23

Copy link
Copy Markdown

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 :)

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