mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-09 02:54:23 +01:00
feat: Add Code Interpreter Plugin (#837)
* feat: Add Code Interpreter Plugin Adds a Simple Code Interpreter Plugin. ## Features: - Runs code using local Python Environment ## Issues - Code execution is not sandboxed. * Add Docker Sandbox for Python Server
This commit is contained in:
parent
e2397076a2
commit
3797ec6082
7 changed files with 150 additions and 0 deletions
11
pyserver/Dockerfile
Normal file
11
pyserver/Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM python:3.9
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY server.py .
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
RUN rm requirements.txt
|
||||
|
||||
CMD ["python", "server.py"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue