The following command runs http.server
as a service:
dstack apply -f examples/misc/http.server/.dstack.yml
See the configuration at .dstack.yml.
The following command runs http.server
as a task:
dstack apply -f examples/misc/http.server/task.dstack.yml
See the configuration at task.dstack.yml.