Spoolman
Spoolman copied to clipboard
Dockerfile size optimization
I installed Spoolman using the official Docker package. I was surprised that it’s over 1 GB in size, which I find quite large for a small web application.
Wouldn’t it be possible to switch the python-runner and possibly the builder to python:3.12-bookworm-slim or python:3.12-alpine?
I used to run with alpine but its not worth it with all the compatibility issues it causes. Is the 1GB a problem for you?
Not really, only some idea to optimize it a bit. I may try to use bookworm-slim for building/running Spoolman and if it works well I'll create a pull request.