You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: microservices/audio-analyzer/docs/user-guide/how-to-build-from-source.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,22 +56,24 @@ chmod +x ./setup_docker.sh
56
56
57
57
#### Docker Setup Options
58
58
59
-
The `setup_docker.sh` script supports the following options:
59
+
The `setup_docker.sh` script when run without any parameters builds and runs the production docker images. It additionally supports the following options:
60
60
61
61
```
62
62
Options:
63
63
--dev Build and run development environment
64
-
--build-only Only build Docker images (don't run containers)
65
-
--build-dev Only build development Docker image
66
-
--build-prod Only build production Docker image
64
+
--build Only build production Docker image
65
+
--build-dev Only build development Docker image
66
+
--down Stop and remove all contianers, networks,
67
+
and volumes
67
68
-h, --help Show this help message
68
69
```
69
70
70
71
Examples:
71
72
- Production setup: `./setup_docker.sh`
72
73
- Development setup: `./setup_docker.sh --dev`
73
-
- Build production image only: `./setup_docker.sh --build-prod`
74
+
- Build production image only: `./setup_docker.sh --build`
74
75
- Build development image only: `./setup_docker.sh --build-dev`
76
+
- Stop and remove all contianers: `./setup_docker.sh --down`
0 commit comments