Skip to content

Commit 9a5cdfe

Browse files
committed
docs: update DEVELOPMENT.md file
1 parent 11e7833 commit 9a5cdfe

1 file changed

Lines changed: 32 additions & 4 deletions

File tree

DEVELOPMENT.md

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,55 @@
55
> If you use [🐳 Docker](https://app.docker.com/) instead of [🦦 Podman](https://podman.io/), just replace `podman-compose` with `docker compose`, and `podman` with `docker` in code examples below.
66
77
### Build the Image
8-
To build the image, run this command:
8+
To build the image, run this command.
9+
10+
With Podman:
911
```bash
1012
podman-compose build
1113
```
1214

15+
With Docker:
16+
```bash
17+
docker compose build
18+
```
19+
1320
### Run the container
14-
After the image is build, you can run a container from that image. Run this command:
21+
After the image is build, you can run a container from that image.
22+
23+
With Podman:
1524
```bash
1625
podman-compose up -d
1726
```
1827

28+
With Docker:
29+
```bash
30+
docker compose up -d
31+
```
32+
1933
### Enter the Container
20-
To enter inside the container, run this command:
34+
To enter inside the container:
35+
36+
With Podman:
2137
```bash
2238
podman-compose exec app sh
2339
```
2440

41+
With Docker:
42+
```bash
43+
docker compose exec app sh
44+
```
45+
2546
After you enter the container, you can use NPM scripts defined in [package.json](package.json) such as `npm run build` or `npm run watch`.
2647

2748
### Destroy the Container
28-
You can destroy the container after you are done working by running this command:
49+
You can destroy the container after you are done working.
50+
51+
With Podman:
2952
```bash
3053
podman-compose down
3154
```
55+
56+
With Docker:
57+
```bash
58+
docker compose down
59+
```

0 commit comments

Comments
 (0)