gustavofreze/python

By gustavofreze

Updated 1 day ago

Python Docker images.

Image
Languages & frameworks
Developer tools
0

4.0K

gustavofreze/python repository overview

Python

Quick reference

3.14-alpine

How to use this image?

CLI
Running directly
docker run --rm -v $(pwd):/var/www/html gustavofreze/python:3.14-alpine python your-script.py
Using as base image

Create a Dockerfile in your project:

FROM gustavofreze/python:3.14-alpine
COPY . /var/www/html
WORKDIR /var/www/html
RUN poetry install --no-root --only main
CMD ["python", "your-script.py"]

Build and run:

docker build -t my-python-app .
docker run --rm my-python-app

Extensions and tools

Extensions and tools added to this image.

Poetry

Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on, and it will manage (install/update) them for you. Poetry offers a lockfile to ensure repeatable installs, and can build your project for distribution.

Tag summary

Content type

Image

Digest

sha256:e87937906

Size

51.6 MB

Last updated

1 day ago

docker pull gustavofreze/python:3.14-alpine