osscameroon/onacut

Using the right docker base image to dockerise our backend

Zaker237 opened this issue · 0 comments

I was reading an article and found that creator of FastApi has also publish a python docker image that is suitable für running faspapi Apps and i was asking myself if it will not be a good idea to also use it to deploy our backend

Here is the image repo

WHY??

As explained Hier FastApi is based on ASGI instead of WSGI like Django and Flask. ASGI Apps are a bit faster than WSGi Apps and we should definitely take advantage of this speed by using an appropriate baseline image