Skip to content

Commit

Permalink
docs: Move docker command up for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew committed Nov 5, 2024
1 parent 1b1e46c commit c0b14e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/repo-docs/guides/tools/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
```

<Callout type="info">
This Dockerfile is written for a [Next.js](https://nextjs.org/) app that is
using the `standalone` [output
Expand Down

0 comments on commit c0b14e9

Please sign in to comment.