1 Star 0 Fork 0

deeplearningrepos/donkeycar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 811 Bytes
一键复制 编辑 原始数据 按行查看 历史
wroscoe 提交于 2018-08-25 06:01 +08:00 . removed need for notebooks folder
FROM python:3.6
WORKDIR /app
# install donkey with tensorflow (cpu only version)
ADD ./setup.py /app/setup.py
ADD ./README.md /app/README.md
RUN pip install -e .[tf]
# get testing requirements
RUN pip install -e .[dev]
# setup jupyter notebook to run without password
RUN pip install jupyter notebook
RUN jupyter notebook --generate-config
RUN echo "c.NotebookApp.password = ''">>/root/.jupyter/jupyter_notebook_config.py
RUN echo "c.NotebookApp.token = ''">>/root/.jupyter/jupyter_notebook_config.py
# add the whole app dir after install so the pip install isn't updated when code changes.
ADD . /app
#start the jupyter notebook
CMD jupyter notebook --no-browser --ip 0.0.0.0 --port 8888 --allow-root --notebook-dir=/app/notebooks
#port for donkeycar
EXPOSE 8887
#port for jupyter notebook
EXPOSE 8888
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/deeplearningrepos/donkeycar.git
git@gitee.com:deeplearningrepos/donkeycar.git
deeplearningrepos
donkeycar
donkeycar
master

搜索帮助