burtenshaw's picture
burtenshaw HF Staff
Publish procedural SQL investigation tasks and reproducible environment source
2ce79be verified
Raw History Blame Contribute Delete
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"]