浏览代码

Updating Dockerfile to work with python directory.

/develop-generalizationTraining-TrainerController
Deric Pang 6 年前
当前提交
c1de0637
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 7
      Dockerfile
  2. 1
      docs/Using-Docker.md

7
Dockerfile


RUN apt-get install -y xvfb
COPY requirements.txt .
COPY python/mlagents/requirements.txt .
WORKDIR /execute
COPY mlagents /execute/mlagents
COPY setup.py .
COPY python/mlagents /mlagents
WORKDIR /mlagents
RUN pip install .
# port 5005 is the port used in in Editor training.

1
docs/Using-Docker.md


-p 5005:5005 \
balance.ball.v0.1:latest 3DBall \
--docker-target-name=unity-volume \
<trainer-config-path> \
--train \
--run-id=3dball_first_trial
```

正在加载...
取消
保存