https://dagster.io/ logo
#ask-community
Title
# ask-community
w

William Masse

02/06/2024, 8:54 PM
I'm new to dagster and I'm wondering how to handle virtual environments possible across code locations? Is that something that is done? How is that setup or structured if its something that is a good practice?
z

Zach

02/06/2024, 8:58 PM
You can think about each code location as its own virtual environment - they're usually deployed as separate docker containers
z

Zach

02/06/2024, 9:26 PM
That's kind of just how code locations work. It sort of just depends on how you deploy Dagster. If you deploy it using any of the container-based deployments then you'll build different containers for each code location, which isolates their dependencies from each other
If you deploy Dagster all on the same machine without any container isolation (generally this isn't what you'd want for a production deployment), then yeah you'll need to do something similar to what Scout suggested
6 Views