Skip to content

poetry run not working in heroku #3994

Answered by abn
aahnik asked this question in Q&A
Discussion options

You must be logged in to vote

I am note sure we can help much on that one as it seems to be heroku problem. From what I can see in your message, if its building a docker image, and the source is correctly copied into the container image, there shouldn't be an issue. Things to maybe look at:

  1. Ensure virtual environment is present at runtime as well as build time.
  2. Poetry install was not done in a separate step that to the run command.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aahnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants