osscameroon / onacut

Onacut is web application that notifies users of electricity, water or internet outage in their location
14 stars 11 forks source link

Using the right docker base image to dockerise our backend #183

Open Zaker237 opened 1 year ago

Zaker237 commented 1 year ago

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