python
Python Docker images.
4.0K
docker run --rm -v $(pwd):/var/www/html gustavofreze/python:3.14-alpine python your-script.py
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 added to this image.
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.
Content type
Image
Digest
sha256:e87937906…
Size
51.6 MB
Last updated
1 day ago
docker pull gustavofreze/python:3.14-alpine