Recipe for using distroless container images with FastAPI

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  • A few days ago I was trying to achieve that and took me a quite amount of time, is not so straight forward as you may think before trying it by yourself. In order to avoid you future headaches, here is a hack to use Distroless containers with FastAPI. In this example I'm trying to build an application with several requirements. The application basically allow you to download videos from Twitter using youtube-dl, you could test the application here also: Twittdown. Here is the structure of the application:

  • distroless

    🥑 Language focused docker images, minus the operating system.

  • A few days ago I was trying to achieve that and took me a quite amount of time, is not so straight forward as you may think before trying it by yourself. In order to avoid you future headaches, here is a hack to use Distroless containers with FastAPI. In this example I'm trying to build an application with several requirements. The application basically allow you to download videos from Twitter using youtube-dl, you could test the application here also: Twittdown. Here is the structure of the application:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts