Skip to content

Commit a37035d

Browse files
committed
Update DOCKER.MD
1 parent 4902890 commit a37035d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

DOCKER.MD

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ To ensure all developers use a consistent environment, especially for cross-plat
55
1. Build the Docker Image
66

77
Build the container image from the Dockerfile in the project root. This process will download all system dependencies, the Rust toolchain, and the Android SDK/NDK.
8-
Bash
98

9+
```bash
1010
docker build -t betaflight-tauri-dev .
11+
```
1112

1213
2. Run the Development Container
1314

1415
Run the image and mount your local project directory into the container's /app directory. This allows you to work on your code locally while running all build commands inside the isolated Docker environment.
15-
Bash
1616

17+
```bash
1718
docker run -it --rm \
1819
-v $(pwd):/app \
1920
--name betaflight-dev-container \
@@ -24,6 +25,7 @@ docker run -it --rm \
2425
--rm: Automatically removes the container when you exit.
2526

2627
-v $(pwd):/app: Mounts your current directory (the project root) to the /app working directory in the container.
28+
```
2729

2830
3. Execute Build/Dev Commands
2931

0 commit comments

Comments
 (0)