Download sandbox/Dockerfile from dotlabs/smolscript: direct link, hf CLI and curl.
- Browser
- Download file 822 Bytes
-
https://huggingface.co/datasets/dotlabs/smolscript/resolve/main/sandbox/Dockerfile
- Command line
-
hf download hf://datasets/dotlabs/smolscript/sandbox/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/dotlabs/smolscript/resolve/main/sandbox/Dockerfile
822 Bytes
| # Build once with internet; inference/evaluation never downloads runtime assets. | |
| FROM mcr.microsoft.com/playwright/python:v1.56.0-noble | |
| USER root | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| gcc g++ nodejs lua5.4 mono-mcs mono-runtime rustc && \ | |
| rm -rf /var/lib/apt/lists/* | |
| RUN python3 -m pip install --no-cache-dir playwright==1.56.0 html5lib==1.1 tinycss2==1.4.0 | |
| RUN ln -sf /usr/bin/lua5.4 /usr/local/bin/lua && ln -sf /usr/bin/luac5.4 /usr/local/bin/luac | |
| COPY sandbox/supervisor.py /opt/smolscript/supervisor.py | |
| COPY sandbox/worker.py /opt/smolscript/worker.py | |
| COPY runners/protocol.py /opt/smolscript/protocol.py | |
| RUN useradd --uid 1000 --create-home --non-unique benchmark 2>/dev/null || true | |
| ENV HOME=/tmp PYTHONHASHSEED=0 LANG=C.UTF-8 LC_ALL=C.UTF-8 TZ=UTC | |
| WORKDIR /work | |
| USER 1000:1000 | |