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:
Ronith 2023-08-28 18:43:50 +05:30 committed by GitHub
parent e2397076a2
commit 3797ec6082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 150 additions and 0 deletions

11
pyserver/Dockerfile Normal file
View 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"]