๐Ÿ“ฆ openinterpreter / open-interpreter

๐Ÿ“„ Dockerfile ยท 21 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21# This is a Dockerfile for using an isolated instance of Open Interpreter

# Start with Python 3.11
FROM python:3.11

# Replace <your_openai_api_key> with your own key
ENV OPENAI_API_KEY <your_openai_api_key>

# Install Open Interpreter
RUN pip install open-interpreter


# To run the container

# docker build -t openinterpreter .
# docker run -d -it --name interpreter-instance openinterpreter interpreter
# docker attach interpreter-instance

# To mount a volume
# docker run -d -it -v /path/on/your/host:/path/in/the/container --name interpreter-instance openinterpreter interpreter