An open API service indexing awesome lists of open source software.

https://github.com/seasawher/poetry-devcontainer

template for setting up poetry in devcontainer
https://github.com/seasawher/poetry-devcontainer

devcontainer devcontainer-template docker poetry python template-project

Last synced: 4 months ago
JSON representation

template for setting up poetry in devcontainer

Awesome Lists containing this project

README

          

# Poetry Devcontainer

There are various obstacles to using Poetry with Devcontainer.

* Poetry creates a virtual environment by default, but this should be turned off when using Docker.
* Depending on the base image, there may be a problem where the Python environment used by Poetry differs from the Python environment on the system. This will result in packages added with `poetry add` not being usable.
* After installing Poetry, you need to update your PATH yourself as it is not automatically updated..

With this template, the above problems have already been solved, so you don't have to spend time solving them. 👍