Production-ready Dockerfiles for various platforms, designed for minimal image size and maximum performance.
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 |
-
Navigate to the folder for your desired platform.
-
Follow the instructions in the README file for that specific platform to build and run your Docker image.
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.
This repository is licensed under the MIT License. Feel free to use and modify the Dockerfiles for your own projects.