langgenius / dify-sandbox

A lightweight, fast, and secure code execution environment that supports multiple programming languages
https://docs.dify.ai/development/backend/sandbox
Apache License 2.0
434 stars 97 forks source link

There is an issue with the version of the base image referenced in the Python environment. #23

Open 115341chenzehao opened 4 months ago

115341chenzehao commented 4 months ago

Problem: When I recompile and create the sandbox image, there is an issue when executing "code execute" in the dify-api because the base image in the Dockerfile is set to FROM python:3.10-slim, which defaults to Python 3.10.1.

Solution: Modify the base image to python:3.10.14-slim.