From c0b14e92be2aa1091cbee94f5ac895b0867a29db Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Tue, 5 Nov 2024 15:29:01 -0700 Subject: [PATCH] docs: Move docker command up for clarity. --- docs/repo-docs/guides/tools/docker.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/repo-docs/guides/tools/docker.mdx b/docs/repo-docs/guides/tools/docker.mdx index 6571a48df9cb1..68c4ea3b3d327 100644 --- a/docs/repo-docs/guides/tools/docker.mdx +++ b/docs/repo-docs/guides/tools/docker.mdx @@ -126,6 +126,12 @@ Splitting up **dependencies** and **source files** in this way lets us **only ru Our detailed [`with-docker` example](https://github.com/vercel/turborepo/tree/main/examples/with-docker) goes into depth on how to use `prune` to its full potential. Here's the Dockerfile, copied over for convenience. +Build the Dockerfile from the root of your monorepo: + +```bash title="Terminal" +docker build -f apps/web/Dockerfile . +``` + This Dockerfile is written for a [Next.js](https://nextjs.org/) app that is using the `standalone` [output