hello :wave:! Im trying to run dagster inside a do...
# ask-community
a
hello đź‘‹! Im trying to run dagster inside a dockerfile, and I want that my jobs are triggered inside my dockerfile, does anyone know how to achieve it?
l
If you set up the code location as a grpc instance to be included in the Dagster workspace jobs defined within the code location will run in the same context i.e., the docker container.
a
thanks Le Yang, and if I deployed dagster in dagster’s cloud, could I use a sensor for triggering a job when an endpoint of an API is requested?
s
Hi Arturo, the sensor evaluation function can run arbitrary logic-- if you have some kind of log to check to see that the endpoint was requested, you could do it that way. But we don’t have a direct API to “wire” an endpoint to job triggering.