-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add code-interpreter service (#668)
- Loading branch information
Showing
5 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: julep-code-interpreter | ||
|
||
services: | ||
code-interpreter: | ||
image: julepai/code-interpreter:${TAG:-dev} | ||
|
||
build: | ||
context: ./vendor/cohere-ai/cohere-terrarium | ||
dockerfile: Dockerfile | ||
|
||
volumes: | ||
# See: https://github.com/cohere-ai/cohere-terrarium/blob/8df9169dac19199c9eb4091c232c2687d27bbc15/src/services/python-interpreter/service.ts#L9 | ||
- code_interpreter_data:/usr/src/app/default_python_home | ||
|
||
profiles: | ||
- code-interpreter | ||
|
||
ports: | ||
- "9090:8080" # Binding to 9090, since 8080 is taken | ||
|
||
volumes: | ||
code_interpreter_data: |
Submodule cohere-terrarium
added at
179d9c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters