bytkim's picture
AgentGridWorld Hard: nine rule-pressure gridworld tasks, with a local player
4a372d3 verified
Raw History Blame Contribute Delete
664 Bytes
FROM python:3.11.15-slim-bookworm@sha256:d29f48a31a8b408ed19272ca1e7b10ebae13b240a27e862d3d4217c528e2e0c3
ENV PYTHONHASHSEED=0
RUN useradd --create-home --shell /bin/bash agent
WORKDIR /opt/gridworld
COPY requirements.txt ./requirements.txt
RUN pip install --no-cache-dir --require-hashes -r requirements.txt
COPY runtime ./runtime
COPY task-config.json ./task-config.json
RUN chmod -R a-w /opt/gridworld && ln -s /opt/gridworld/runtime/client.py /usr/local/bin/gridworld && chmod 755 /opt/gridworld/runtime/client.py && mkdir -p /workspace && chown agent:agent /workspace
RUN chmod 600 /opt/gridworld/task-config.json
WORKDIR /workspace
CMD ["sleep", "infinity"]