burtenshaw HF Staff
Publish procedural SQL investigation tasks and reproducible environment source
2ce79be verified Download source/server/Dockerfile from burtenshaw/openenv-sql-investigation: direct link, hf CLI and curl.
- Browser
- Download file 839 Bytes
-
https://huggingface.co/datasets/burtenshaw/openenv-sql-investigation/resolve/main/source/server/Dockerfile
- Command line
-
hf download hf://datasets/burtenshaw/openenv-sql-investigation/source/server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/burtenshaw/openenv-sql-investigation/resolve/main/source/server/Dockerfile
839 Bytes
| FROM python:3.12-slim | |
| LABEL org.opencontainers.image.title="OpenEnv SQL Investigation" | |
| LABEL org.opencontainers.image.description="Procedural SQL investigation tasks with exact rewards" | |
| LABEL org.opencontainers.image.source="https://github.com/burtenshaw/openenv-sql-investigation" | |
| LABEL org.opencontainers.image.licenses="MIT" | |
| RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.lock /app/requirements.lock | |
| RUN pip install --no-cache-dir -r requirements.lock && useradd --create-home --uid 10001 arena | |
| COPY sql_investigation /app/sql_investigation | |
| COPY server /app/server | |
| COPY openenv.yaml README.md LICENSE /app/ | |
| ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 | |
| USER arena | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |