Docker development improvements
As of today we noticed no one uses the standard Dockerfile
, moreover, it is not recommended, and it might cause confusion which dockerfile should be used for development and else.
We should use Dockerfile.distroless
as the standard/recommended dockerfile image, we can get rid of the Dockerfile
development image as developers normally will develop on their local directly using flask and uvicorn, if developers want to use docker approach, they can take leverage of docker-compose build
, with cache, which is also recommended and encouraged as it will test the production image.
Optionally we should get rid of the build-dependencies which are being installed, after pandas-upgrade it seems those are not needed anymore.