提交 585bb833 编写于 作者: T Travis CI

Deploy to GitHub Pages: 32a5d760

上级 1daad13b
...@@ -210,7 +210,7 @@ compiling tools and dependencies. ...@@ -210,7 +210,7 @@ compiling tools and dependencies.
.. code-block:: bash .. 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. The above command will generate the production image by copying the compiled PaddlePaddle program into the image.
......
...@@ -381,7 +381,7 @@ docker build -t paddle:dev . ...@@ -381,7 +381,7 @@ docker build -t paddle:dev .
</div> </div>
<p>The above command will compile PaddlePaddle and create a Dockerfile for building production image. All the generated files are in the build directory. &#8220;WITH_GPU&#8221; controls if the generated production image supports GPU. &#8220;WITH_AVX&#8221; controls if the generated production image supports AVX. &#8220;WITH_TEST&#8221; controls if the unit test will be generated.</p> <p>The above command will compile PaddlePaddle and create a Dockerfile for building production image. All the generated files are in the build directory. &#8220;WITH_GPU&#8221; controls if the generated production image supports GPU. &#8220;WITH_AVX&#8221; controls if the generated production image supports AVX. &#8220;WITH_TEST&#8221; controls if the unit test will be generated.</p>
<p>The second step is to run:</p> <p>The second step is to run:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>docker build -t paddle:prod -f build/Dockerfile . <div class="highlight-bash"><div class="highlight"><pre><span></span>docker build -t paddle:prod -f build/Dockerfile ./build
</pre></div> </pre></div>
</div> </div>
<p>The above command will generate the production image by copying the compiled PaddlePaddle program into the image.</p> <p>The above command will generate the production image by copying the compiled PaddlePaddle program into the image.</p>
......
...@@ -155,7 +155,7 @@ PaddlePaddle Book是为用户和开发者制作的一个交互式的Jupyter Node ...@@ -155,7 +155,7 @@ PaddlePaddle Book是为用户和开发者制作的一个交互式的Jupyter Node
.. code-block:: bash .. code-block:: bash
docker build -t paddle:prod -f build/Dockerfile . docker build -t paddle:prod -f build/Dockerfile ./build
以上命令会按照生成的Dockerfile把生成的程序拷贝到生产镜像中并做相应的配置,最终生成名为paddle:prod的生产镜像。 以上命令会按照生成的Dockerfile把生成的程序拷贝到生产镜像中并做相应的配置,最终生成名为paddle:prod的生产镜像。
......
...@@ -335,7 +335,7 @@ docker build -t paddle:dev . ...@@ -335,7 +335,7 @@ docker build -t paddle:dev .
</div> </div>
<p>以上命令会编译PaddlePaddle,生成运行程序,以及生成创建生产镜像的Dockerfile。所有生成的的文件都在build目录下。“WITH_GPU”控制生成的生产镜像是否支持GPU,“WITH_AVX”控制生成的生产镜像是否支持AVX,”WITH_TEST“控制是否生成单元测试。</p> <p>以上命令会编译PaddlePaddle,生成运行程序,以及生成创建生产镜像的Dockerfile。所有生成的的文件都在build目录下。“WITH_GPU”控制生成的生产镜像是否支持GPU,“WITH_AVX”控制生成的生产镜像是否支持AVX,”WITH_TEST“控制是否生成单元测试。</p>
<p>第二步是运行:</p> <p>第二步是运行:</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>docker build -t paddle:prod -f build/Dockerfile . <div class="highlight-bash"><div class="highlight"><pre><span></span>docker build -t paddle:prod -f build/Dockerfile ./build
</pre></div> </pre></div>
</div> </div>
<p>以上命令会按照生成的Dockerfile把生成的程序拷贝到生产镜像中并做相应的配置,最终生成名为paddle:prod的生产镜像。</p> <p>以上命令会按照生成的Dockerfile把生成的程序拷贝到生产镜像中并做相应的配置,最终生成名为paddle:prod的生产镜像。</p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册