Download docker/sandboxes/python/Dockerfile from myagent10101/codesync-collaborative-platform: direct link, hf CLI and curl.
- Browser
- Download file 787 Bytes
-
https://huggingface.co/myagent10101/codesync-collaborative-platform/resolve/main/docker/sandboxes/python/Dockerfile
- Command line
-
hf download hf://myagent10101/codesync-collaborative-platform/docker/sandboxes/python/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/myagent10101/codesync-collaborative-platform/resolve/main/docker/sandboxes/python/Dockerfile
787 Bytes
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # Sandbox Dockerfile β Python execution | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| FROM python:3.12-alpine | |
| # Create sandbox user | |
| RUN adduser -D -u 1000 sandbox | |
| # Install common Python packages | |
| RUN pip install --no-cache-dir numpy pandas | |
| # Create workspace | |
| RUN mkdir -p /sandbox && chown sandbox:sandbox /sandbox | |
| # Remove pip to prevent installs | |
| RUN rm -rf /usr/local/bin/pip /usr/local/bin/pip3 | |
| USER sandbox | |
| WORKDIR /sandbox | |
| ENTRYPOINT ["sh", "-c"] | |