浏览代码

Merge pull request #1894 from Unity-Technologies/develop-esh-docker

Install dependencies for ml-agents-envs and ml-agents in Docker
/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
eb90ad80
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 8
      Dockerfile

8
Dockerfile


# xvfb is used to do CPU based rendering of Unity
RUN apt-get install -y xvfb
# Install ml-agents-envs package locally
COPY ml-agents-envs /ml-agents-envs
WORKDIR /ml-agents-envs
RUN pip install -e .
# Install ml-agents package next
RUN pip install .
RUN pip install -e .
# port 5005 is the port used in in Editor training.
EXPOSE 5005
正在加载...
取消
保存