File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
examples/plugins/example_plugin Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ # Example of including plugins into the dstack server Docker image
2+ FROM dstackai/dstack:latest
3+
4+ # Installing plugin from Docker context
5+ COPY . plugins/example_plugin
6+ RUN uv tool install "dstack[all]" --with plugins/example_plugin
7+
8+ # Installing some other plugins from pypi/git
9+ # RUN uv tool install "dstack[all]" --with plugin1 --with plugin2
Original file line number Diff line number Diff line change 1+ # Example of including plugins into the dstack Enterprise Docker image
2+ FROM ghcr.io/dstackai/dstack-enterprise:latest
3+
4+ # Installing plugin from Docker context
5+ COPY . plugins/example_plugin
6+ RUN uv pip install plugins/example_plugin
7+
8+ # Installing some other plugins from pypi/git
9+ # RUN uv pip install plugin-name
You can’t perform that action at this time.
0 commit comments