From 1709b5fd170ac234f8510a960e911a7a0845ad2c Mon Sep 17 00:00:00 2001 From: Johannes Werbrouck Date: Fri, 6 Oct 2023 09:31:50 +0200 Subject: [PATCH 1/2] In Fly launch config page > build section > dockerfile, put the gotchas with this setup in a callout. --- reference/configuration.html.markerb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reference/configuration.html.markerb b/reference/configuration.html.markerb index cc3071bb75..ba3b5b8d9f 100644 --- a/reference/configuration.html.markerb +++ b/reference/configuration.html.markerb @@ -109,7 +109,10 @@ The image builder is used when you want to immediately deploy an existing public `dockerfile` accepts a relative path to a Dockerfile, or a URL. By default, `flyctl` looks for `Dockerfile` in the application root. -**Gotchas:** 1) This option will not change the Docker context path, which is set to the project root directory by default. If you want the `Dockerfile` to use its containing directory as the context root, use `fly deploy `. 2) When specifying a local Dockerfile, make sure it's not excluded from the Docker build context in your `.dockerignore`. +
+- This option will not change the Docker context path, which is set to the project root directory by default. If you want the `Dockerfile` to use its containing directory as the context root, use `fly deploy `. +- When specifying a local Dockerfile, make sure it's not excluded from the Docker build context in your `.dockerignore`. +
### Specify a Docker ignore file From 0d76f0c943aa62cdba9f9bdda942d74e541efc8e Mon Sep 17 00:00:00 2001 From: Johannes Werbrouck Date: Fri, 6 Oct 2023 16:08:44 +0200 Subject: [PATCH 2/2] In Fly launch config page > build section > dockerfile, put the gotchas with this setup in a callout. --- reference/configuration.html.markerb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reference/configuration.html.markerb b/reference/configuration.html.markerb index ba3b5b8d9f..f6042ac850 100644 --- a/reference/configuration.html.markerb +++ b/reference/configuration.html.markerb @@ -109,7 +109,8 @@ The image builder is used when you want to immediately deploy an existing public `dockerfile` accepts a relative path to a Dockerfile, or a URL. By default, `flyctl` looks for `Dockerfile` in the application root. -
+
+**Gotchas:** - This option will not change the Docker context path, which is set to the project root directory by default. If you want the `Dockerfile` to use its containing directory as the context root, use `fly deploy `. - When specifying a local Dockerfile, make sure it's not excluded from the Docker build context in your `.dockerignore`.