From 585bb83379739b9bd4d71d24dfcf105f642889d7 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 26 Apr 2017 05:51:46 +0000 Subject: [PATCH] Deploy to GitHub Pages: 32a5d760925c06c271e22f6293d63ece32f1c895 --- .../getstarted/build_and_install/docker_install_en.rst.txt | 2 +- develop/doc/getstarted/build_and_install/docker_install_en.html | 2 +- .../getstarted/build_and_install/docker_install_cn.rst.txt | 2 +- .../doc_cn/getstarted/build_and_install/docker_install_cn.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/develop/doc/_sources/getstarted/build_and_install/docker_install_en.rst.txt b/develop/doc/_sources/getstarted/build_and_install/docker_install_en.rst.txt index b6a9dd963c6..03df4975060 100644 --- a/develop/doc/_sources/getstarted/build_and_install/docker_install_en.rst.txt +++ b/develop/doc/_sources/getstarted/build_and_install/docker_install_en.rst.txt @@ -210,7 +210,7 @@ compiling tools and dependencies. .. code-block:: bash - docker build -t paddle:prod -f build/Dockerfile . + docker build -t paddle:prod -f build/Dockerfile ./build The above command will generate the production image by copying the compiled PaddlePaddle program into the image. diff --git a/develop/doc/getstarted/build_and_install/docker_install_en.html b/develop/doc/getstarted/build_and_install/docker_install_en.html index 919ebf239af..e4c0bbdfae1 100644 --- a/develop/doc/getstarted/build_and_install/docker_install_en.html +++ b/develop/doc/getstarted/build_and_install/docker_install_en.html @@ -381,7 +381,7 @@ docker build -t paddle:dev .

The above command will compile PaddlePaddle and create a Dockerfile for building production image. All the generated files are in the build directory. “WITH_GPU” controls if the generated production image supports GPU. “WITH_AVX” controls if the generated production image supports AVX. “WITH_TEST” controls if the unit test will be generated.

The second step is to run:

-
docker build -t paddle:prod -f build/Dockerfile .
+
docker build -t paddle:prod -f build/Dockerfile ./build
 

The above command will generate the production image by copying the compiled PaddlePaddle program into the image.

diff --git a/develop/doc_cn/_sources/getstarted/build_and_install/docker_install_cn.rst.txt b/develop/doc_cn/_sources/getstarted/build_and_install/docker_install_cn.rst.txt index e35dc6aaef0..da2d4234658 100644 --- a/develop/doc_cn/_sources/getstarted/build_and_install/docker_install_cn.rst.txt +++ b/develop/doc_cn/_sources/getstarted/build_and_install/docker_install_cn.rst.txt @@ -155,7 +155,7 @@ PaddlePaddle Book是为用户和开发者制作的一个交互式的Jupyter Node .. code-block:: bash - docker build -t paddle:prod -f build/Dockerfile . + docker build -t paddle:prod -f build/Dockerfile ./build 以上命令会按照生成的Dockerfile把生成的程序拷贝到生产镜像中并做相应的配置,最终生成名为paddle:prod的生产镜像。 diff --git a/develop/doc_cn/getstarted/build_and_install/docker_install_cn.html b/develop/doc_cn/getstarted/build_and_install/docker_install_cn.html index ab4f7817f9d..47e3b4a722b 100644 --- a/develop/doc_cn/getstarted/build_and_install/docker_install_cn.html +++ b/develop/doc_cn/getstarted/build_and_install/docker_install_cn.html @@ -335,7 +335,7 @@ docker build -t paddle:dev .

以上命令会编译PaddlePaddle,生成运行程序,以及生成创建生产镜像的Dockerfile。所有生成的的文件都在build目录下。“WITH_GPU”控制生成的生产镜像是否支持GPU,“WITH_AVX”控制生成的生产镜像是否支持AVX,”WITH_TEST“控制是否生成单元测试。

第二步是运行:

-
docker build -t paddle:prod -f build/Dockerfile .
+
docker build -t paddle:prod -f build/Dockerfile ./build
 

以上命令会按照生成的Dockerfile把生成的程序拷贝到生产镜像中并做相应的配置,最终生成名为paddle:prod的生产镜像。

-- GitLab