Why is my conda env not recognizing Dagster when deploying in a container? #18083
Unanswered
Replies: 1 comment 1 reply
-
Can you include your What do you have included for your CMD/ENTRYPOINT? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello! i'm having a problem using
conda
with dagster, during deployment (very similar issue to this thread I found, but no concrete workaround was provided) https://discuss.dagster.io/t/8427578/hello-has-anyone-had-issues-with-continuous-deployment-i-m-u. The issue seems to me that in my dockerfile,source activate myenv
is added to the.bashrc
, so developing in the container is perfectly fine ifdocker exec -it mycontainer bash
is run as theconda
env is automatically activated and dagster is recognized. However, I presume this becomes an issue during deployment sincedocker exec mycontainer dagster
is run, skipping theconda
env activation, and dagster is not recognized. Does anyone have an idea of how to work around this?The question was originally asked in Dagster Slack.
Beta Was this translation helpful? Give feedback.
All reactions