This is an automated email from the ASF dual-hosted git repository.

uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0bedacc255 Improve docker documentation (#25735)
0bedacc255 is described below

commit 0bedacc255b7a7ef5dcb1085955d119b2f6cba61
Author: Lawrence Chou <[email protected]>
AuthorDate: Wed Aug 17 07:10:22 2022 +0800

    Improve docker documentation (#25735)
---
 docs/apache-airflow/start/docker.rst | 3 ++-
 docs/docker-stack/index.rst          | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/apache-airflow/start/docker.rst 
b/docs/apache-airflow/start/docker.rst
index 1a08f33f33..083a282fb0 100644
--- a/docs/apache-airflow/start/docker.rst
+++ b/docs/apache-airflow/start/docker.rst
@@ -124,7 +124,8 @@ Using custom images
 
 When you want to run Airflow locally, you might want to use an extended image, 
containing some additional dependencies - for
 example you might add new python packages, or upgrade airflow providers to a 
later version. This can be done very easily
-by placing a custom Dockerfile alongside your ``docker-compose.yaml``. Then 
you can use ``docker-compose build`` command
+by specifying ``build: .`` in your ``docker-compose.yaml`` and placing a 
custom Dockerfile alongside your
+``docker-compose.yaml``. Then you can use ``docker-compose build`` command
 to build your image (you need to do it only once). You can also add the 
``--build`` flag to your ``docker-compose`` commands
 to rebuild the images on-the-fly when you run other ``docker-compose`` 
commands.
 
diff --git a/docs/docker-stack/index.rst b/docs/docker-stack/index.rst
index 4d47f70e68..ce023386fb 100644
--- a/docs/docker-stack/index.rst
+++ b/docs/docker-stack/index.rst
@@ -88,7 +88,7 @@ Usage
 =====
 
 The :envvar:`AIRFLOW_HOME` is set by default to ``/opt/airflow/`` - this means 
that DAGs
-are in default in the ``/opt/airflow/dags`` folder and logs are in the 
``/opt/airflow/logs``
+are by default in the ``/opt/airflow/dags`` folder and logs are in the 
``/opt/airflow/logs``
 
 The working directory is ``/opt/airflow`` by default.
 

Reply via email to