File size: 755 Bytes
9de6be7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # 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"]
|