Skip to content

kimvanwyk/python3-poetry-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python3-poetry

A Docker container to be used as a base for Python 3 poetry based projects.

Usage

  • Use this image as the FROM argument in a container.

  • Copy all source files to /app/ in the container

  • Ensure there is a pyproject.toml in the root directory - it will be copied into the directory and all contents poetry installed into the container.

Example Child Project

Project Directory

- Dockerfile
- pyproject.toml
- app/
     - python_source.py
     - other_python_source.py

Dockerfile

FROM python3-poetry-container:latest

COPY app/* /app/

ENTRYPOINT ["python", "python_source.py"]

Versions and Packages

A manifest file detailing the Python, pip, and Poetry versions and the installed Python packages is in a file inside the image at /manifest.txt.

Update Schedule

This image is built and pushed to registries once a month, including the latest Python, pip and Poetry versions available at the time.

Development

The source for this image is kept and developed in this GitLab repository.

Licensing

This image is licensed under the BSD 3-Clause License

Authors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published