forked from openinterpreter/open-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 733 Bytes
/
Dockerfile
File metadata and controls
23 lines (17 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
###########################################################################################
# This Dockerfile runs an LMC-compatible websocket server at / on port 8000. #
# To learn more about LMC, visit https://docs.openinterpreter.com/protocols/lmc-messages. #
###########################################################################################
FROM python:3.11.8
# Set environment variables
# ENV OPENAI_API_KEY ...
# Copy required files into container
RUN mkdir -p interpreter
COPY interpreter/ interpreter/
COPY poetry.lock pyproject.toml README.md ./
# Expose port 8000
EXPOSE 8000
# Install server dependencies
RUN pip install -e ".[server]"
# Start the server
ENTRYPOINT ["interpreter", "--server"]