Skip to content

Commit 539b8f2

Browse files
authored
Add example of including plugins into a dstack-server Docker image (#2620)
1 parent c98e48c commit 539b8f2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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

0 commit comments

Comments
 (0)