The Dockerfile requires some updates. I have tried to run a build and it fails. However I do think it's beneficial to rework it regardless and introduce a "builder" stage where all the requirements will be built and then have the final image as small as possible. Ideally python:3.11-slim can be used to replace the current ubuntu:22.10. Beside this, a generic refresh would be good as well, leveraging some docker-fu.
The
Dockerfile
requires some updates. I have tried to run a build and it fails. However I do think it's beneficial to rework it regardless and introduce a "builder" stage where all the requirements will be built and then have the final image as small as possible. Ideallypython:3.11-slim
can be used to replace the currentubuntu:22.10
. Beside this, a generic refresh would be good as well, leveraging some docker-fu.