docs: fix some pages (#24632)

This commit is contained in:
Michael H
2025-11-13 06:00:05 +11:00
committed by GitHub
parent d1fa27acce
commit 98a01e5d2a
8 changed files with 62 additions and 21 deletions

View File

@@ -132,9 +132,7 @@ CMD ["bun", "index.ts"]
<Note>
Make sure that the start command corresponds to your application's entry point. This can also be `CMD ["bun", "run", "start"]` if you have a start script in your `package.json`.
This image installs dependencies and runs your app with Bun inside a container. If your app doesn't have dependencies, you can omit the `RUN bun install --production --frozen-lockfile` line.
This image installs dependencies and runs your app with Bun inside a container. If your app doesn't have dependencies, you can omit the `RUN bun install --production --frozen-lockfile` line.
This image installs dependencies and runs your app with Bun inside a container. If your app doesn't have dependencies, you can omit the `RUN bun install --production --frozen-lockfile` line.
</Note>
@@ -159,8 +157,7 @@ Make sure you're in the directory containing your `Dockerfile`, then deploy dire
<Note>
Update the `--region` flag to your preferred region. You can also omit this flag to get an interactive prompt to
select a region. Update the `--region` flag to your preferred region. You can also omit this flag to get an
interactive prompt to select a region.
select a region.
</Note>
```bash terminal icon="terminal"

View File

@@ -64,10 +64,10 @@ Later, when this test file is executed again, Bun will read the snapshot file an
```sh terminal icon="terminal"
bun test
bun test v1.3.2 (9c68abdb)
```
```txt
bun test v1.3.2 (9c68abdb)
test/snap.test.ts:
✓ snapshot [1.05ms]
@@ -83,10 +83,10 @@ To update snapshots, use the `--update-snapshots` flag.
```sh terminal icon="terminal"
bun test --update-snapshots
bun test v1.3.2 (9c68abdb)
```
```txt
bun test v1.3.2 (9c68abdb)
test/snap.test.ts:
✓ snapshot [0.86ms]