Skip to content

Commit

Permalink
docs: Move docker command up for clarity. (#9390)
Browse files Browse the repository at this point in the history
## Description

Unburying the command for easier finding!

### Testing Instructions

👀
  • Loading branch information
anthonyshew authored Nov 6, 2024
1 parent 3d75092 commit 9775737
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 9775737

Please sign in to comment.