mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
docs: fix some pages (#24632)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user