You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
466 B

3 months ago
  1. # A Dockerfile that sets up a full Gym install with test dependencies
  2. ARG PYTHON_VERSION
  3. FROM python:$PYTHON_VERSION
  4. SHELL ["/bin/bash", "-o", "pipefail", "-c"]
  5. RUN apt-get -y update \
  6. && apt-get install --no-install-recommends -y \
  7. xvfb
  8. COPY . /usr/local/minigrid/
  9. WORKDIR /usr/local/minigrid/
  10. RUN pip install .[testing] --no-cache-dir
  11. RUN ["chmod", "+x", "/usr/local/minigrid/docker_entrypoint"]
  12. ENTRYPOINT ["/usr/local/minigrid/docker_entrypoint"]