Skip to content

A curated list of Production-ready Dockerfiles for various platforms, designed for minimal image size and maximum performance.

License

Notifications You must be signed in to change notification settings

david-randoll/awesome-dockerfiles

Repository files navigation

Dockerfiles Repository

Production-ready Dockerfiles for various platforms, designed for minimal image size and maximum performance.

Why Use These Dockerfiles?

The Dockerfiles in this repository are optimized to significantly reduce image sizes while maintaining functionality. Here are some stats for the current platforms:

Platform Optimized Size
Static Website 81KB (Kilobytes!)
Next.js 67MB
React Vite 232KB (Kilobytes!)
Vue.js 185KB (Kilobytes!)
Node.js 62MB
Spring Boot 77MB
Dotnet Core 53MB
Python Flask 22.8MB

How to Use

  1. Navigate to the folder for your desired platform.

  2. Follow the instructions in the README file for that specific platform to build and run your Docker image.

Contributing

Contributions are welcome! If you have an optimized Dockerfile for a platform not yet included in this repository, feel free to open a pull request. Ensure your Dockerfile is well-documented and includes before-and-after stats for image size.

License

This repository is licensed under the MIT License. Feel free to use and modify the Dockerfiles for your own projects.