We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fefd2db commit 637c0cfCopy full SHA for 637c0cf
examples/Dockerfile
@@ -0,0 +1,20 @@
1
+# This is a Dockerfile for using an isolated instance of Open Interpreter
2
+
3
+# Start with Python 3.11
4
+FROM python:3.11
5
6
+# Replace <your_openai_api_key> with your own key
7
+ENV OPENAI_API_KEY <your_openai_api_key>
8
9
+# Install Open Interpreter
10
+RUN pip install open-interpreter
11
12
13
+# To run the container
14
15
+# docker build -t openinterpreter .
16
+# docker run -d -it --name interpreter-instance openinterpreter interpreter
17
+# docker attach interpreter-instance
18
19
+# To mount a volume
20
+# docker run -d -it -v /path/on/your/host:/path/in/the/container --name interpreter-instance openinterpreter interpreter
0 commit comments