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
19 lines
466 B
# A Dockerfile that sets up a full Gym install with test dependencies
|
|
ARG PYTHON_VERSION
|
|
FROM python:$PYTHON_VERSION
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
RUN apt-get -y update \
|
|
&& apt-get install --no-install-recommends -y \
|
|
xvfb
|
|
|
|
COPY . /usr/local/minigrid/
|
|
WORKDIR /usr/local/minigrid/
|
|
|
|
RUN pip install .[testing] --no-cache-dir
|
|
|
|
RUN ["chmod", "+x", "/usr/local/minigrid/docker_entrypoint"]
|
|
|
|
ENTRYPOINT ["/usr/local/minigrid/docker_entrypoint"]
|
|
|