The post asks for a recommended way to use Poetry to install dependencies instead of pure pip, and whether anyone has this working in their Apify Dockerfile. A community member suggests that pip is recommended, but alternatively one can create their own Dockerfile. Another community member shares that they have implemented using Poetry in the Beautifulsoup Scraper project, and provides guidance on the Dockerfile and pyproject.toml configuration. The third community member expresses appreciation for the information provided.
Hi Honza, you can check our Beautifulsoup Scraper (https://github.com/apify/actor-beautifulsoup-scraper/blob/master/.actor/Dockerfile). I implemented it and made it work using Poetry. Check the Dockerfile and pyproject.toml. It should be enough to make it work, I also added poetry.toml and Makefile with additional poetry-related features/settings.