Download source/server/Dockerfile from naklitechie/openenv-null-control: direct link, hf CLI and curl.
- Browser
- Download file 755 Bytes
-
https://huggingface.co/datasets/naklitechie/openenv-null-control/resolve/main/source/server/Dockerfile
- Command line
-
hf download hf://datasets/naklitechie/openenv-null-control/source/server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/naklitechie/openenv-null-control/resolve/main/source/server/Dockerfile
755 Bytes
| # Null-control OpenEnv server. Build from envs/null: | |
| # DOCKER_DEFAULT_PLATFORM=linux/amd64 openenv build -t <ref> | |
| FROM python:3.11-slim@sha256:e88e9763f943ec1834f992a4b51e0f24500486803e8bc534e5767af9ea65f6ce | |
| WORKDIR /app | |
| COPY requirements.lock /app/requirements.lock | |
| RUN pip install --no-cache-dir -r /app/requirements.lock \ | |
| && useradd --uid 10001 --no-create-home --shell /usr/sbin/nologin env | |
| COPY models.py /app/models.py | |
| COPY server /app/server | |
| LABEL org.opencontainers.image.source="https://github.com/NakliTechie/openenv-arena" \ | |
| org.opencontainers.image.description="OpenEnv Arena null control: constant reward 0.5, zero GRPO advantage" | |
| USER env | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |