Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deploy.md #582

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/src/docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ Kubernetes example:

Going a step further you can use the Kit CLI container to create your own bespoke ModelKit containers.

Example `dockerfile` for a custom container that has <my-modelkit> built into it:
Example `dockerfile` for a custom container that has `my-modelkit` built into it:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you gonna use < and > it needs to be wrapped in a inline-code backtick, otherwise, it tries to render it as html and fails.


```
# Staged build to grab the ModelKit so we can use it later
FROM ghcr.io/jozu-ai/kit:latest AS modelkit-download

# Download your ModelKit into the container
RUN kit unpack <my-modelkit> /tmp/my-modelkit
RUN kit unpack my-modelkit /tmp/my-modelkit

# Actual build stage; this just uses Alpine but you would build whatever
# container you need here
Expand All @@ -109,4 +109,4 @@ Example `dockerfile` for a custom container that has <my-modelkit> built into it
COPY --from=modelkit-download /tmp/my-modelkit /home/user/modelkit-data
```

**Questions or suggestions?** Drop an [issue in our GitHub repository](https://github.com/jozu-ai/kitops/issues) or join [our Discord server](https://discord.gg/Tapeh8agYy) to get support or share your feedback.
**Questions or suggestions?** Drop an [issue in our GitHub repository](https://github.com/jozu-ai/kitops/issues) or join [our Discord server](https://discord.gg/Tapeh8agYy) to get support or share your feedback.