Skip to content

Instantly share code, notes, and snippets.

@HariSekhon
Created July 2, 2024 17:37
Show Gist options
  • Save HariSekhon/f2123c244398f81b9af337e75835d706 to your computer and use it in GitHub Desktop.
Save HariSekhon/f2123c244398f81b9af337e75835d706 to your computer and use it in GitHub Desktop.
dockerfile.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowledge-Base

Dockerfile

The build file for a docker image.

Template

HariSekhon/Templates - Dockerfile

Python - Create Smaller Docker Images Using the Builder Pattern

Use the Python builder pattern to make small Python docker images, see this Medium article.

The code for this is in the Dockerfile template above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment