Sign inSign up

sidh4u/python

By sidh4u

•Updated 4 months ago

Python image based on Amazon Linux 2023 minimal woth pip and uv support

Image
0

1.1K

sidh4u/python repository overview

⁠Python on Amazon Linux 2023 Minimal

Minimal, production-ready Docker images for Python built on amazonlinux:2023-minimal.

These images are lightweight, secure, and suitable for CI pipelines, application packaging, or running Python apps in containers.

Both pip and uv Package Managers are available.


ā šŸ“¦ Available Tags

TagDescription
latest,3-al2023,3.12-al2023Latest stable Python 3.12
3.11-al2023Python 3.11
3.9-al2023Python 3.9

ā šŸ›  Example Usage

⁠Folder structure:
my-python-app/
ā”œā”€ā”€ app.py
ā”œā”€ā”€ requirements.txt
ā”œā”€ā”€ Dockerfile
⁠In the Dockerfile:
FROM sidh4u/python:latest

# Copy application code along with requirements.txt
COPY . .

# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt

CMD ["python", "app.py"]

ā šŸ›  Pull the image directly

⁠In Terminal:
# Pull python latest
docker pull sidh4u/python:latest

# Pull python particular version
docker pull sidh4u/python:3.9-al2023

Tag summary

Content type

Image

Digest

sha256:95a5f9aef…

Size

78.8 MB

Last updated

4 months ago

docker pull sidh4u/python