{"id":19380860,"url":"https://github.com/withlogicco/docker-poetry","last_synced_at":"2025-04-23T20:31:47.203Z","repository":{"id":42051970,"uuid":"331708723","full_name":"withlogicco/docker-poetry","owner":"withlogicco","description":"Docker image for Python projects with Poetry managed dependencies","archived":false,"fork":false,"pushed_at":"2024-09-27T13:15:19.000Z","size":94,"stargazers_count":21,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T19:46:49.794Z","etag":null,"topics":["docker","docker-image","python","python-poetry"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/withlogicco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-21T17:52:59.000Z","updated_at":"2025-02-04T12:12:58.000Z","dependencies_parsed_at":"2024-04-26T10:38:03.036Z","dependency_job_id":null,"html_url":"https://github.com/withlogicco/docker-poetry","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlogicco%2Fdocker-poetry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlogicco%2Fdocker-poetry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlogicco%2Fdocker-poetry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withlogicco%2Fdocker-poetry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/withlogicco","download_url":"https://codeload.github.com/withlogicco/docker-poetry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509660,"owners_count":21442471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","python","python-poetry"],"created_at":"2024-11-10T09:15:01.268Z","updated_at":"2025-04-23T20:31:46.962Z","avatar_url":"https://github.com/withlogicco.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Poetry\n\nDocker Poetry is a Docker image for Python projects with dependencies managed by Poetry.\n\n![Poetry](https://img.shields.io/badge/Poetry-1.8.3-purple) ![Python](https://img.shields.io/badge/Python-3.12%20(default)%20%7C%203.11%20%7C%203.10%20%7C%203.9%20%7C%203.8-blue) ![Variants](https://img.shields.io/badge/Variants-Bookworm%20(default)%20%7C%20Slim-orange\n)\n\n## Why\n\nAt \u003ca href=\"https://withlogic.co/\"\u003eLOGIC\u003c/a\u003e our go-to stack for web applications is; the latest LTS Django on the latest Python using Poetry as our dependency manager in Docker. [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) is a core principle for us, so a public Docker image with the right Python and Poetry version is an exceptional base for new projects.\n\n## Tags\n\nFor the simplest use case just pick your Poetry version:\n\n```\nghcr.io/withlogicco/poetry:\u003cpoetry_version\u003e\n```\n\nThis will use the default Python version (latest) and image variant (Bookworm). You can be more specific by picking either a Python version, image variant or both:\n\n- Python version: `ghcr.io/withlogicco/poetry:\u003cpoetry_version\u003e-python-\u003cpython_version\u003e`\n- Image variant: `ghcr.io/withlogicco/poetry:\u003cpoetry_version\u003e-\u003cimage_variant\u003e`\n- Python version and image variant: `ghcr.io/withlogicco/poetry:\u003cpoetry_version\u003e-python-\u003cpython_version\u003e-\u003cimage_variant\u003e`\n\n### Examples\n\n- Poetry 1.8.3: `ghcr.io/withlogicco/poetry:1.8.3`\n- Poetry 1.8.3 on Python 3.12: `ghcr.io/withlogicco/poetry:1.8.3-python-3.12`\n- Poetry 1.8.3 on Bookworm: `ghcr.io/withlogicco/poetry:1.8.3-bookworm`\n- Poetry 1.8.3 on Python 3.12 and Bookworm: `ghcr.io/withlogicco/poetry:1.8.3-python-3.12-bookworm`\n\n## Usage\n\nFirst, pick the image tag you wish to use. Then, copy your `pyproject.toml` and `poetry.lock` files in the working directory (`/usr/src/app`), for optimal caching and run `poetry install`. Example:\n\n```dockerfile\nFROM ghcr.io/withlogicco/poetry:1.8.3\n\nCOPY pyproject.toml poetry.lock ./\nRUN poetry install\n\nCOPY ./ ./\n```\n\n## Supported versions\n\n### Poetry\n\nOnly the latest version of Poetry is included in each build.\n\n### Python (optional)\n\nA build will be provided for each Python version still under maintenance and support. The latest Python version acts as the default in each build.\n\nYou can check the currently supported Python versions at https://endoflife.date/python.\n\n### Variants (optional)\n\nWe provide builds for three different image variants:\n\n- Debian Bookworm (default): `bookworm`\n- Debian Slim: `slim`\n\n## License\n\nThis project is [MIT licensed](LICENSE).\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003e🦄 Built with \u003ca href=\"https://withlogic.co/\"\u003eLOGIC\u003c/a\u003e. 🦄\u003c/i\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithlogicco%2Fdocker-poetry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwithlogicco%2Fdocker-poetry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithlogicco%2Fdocker-poetry/lists"}