Add docker-compose production with dev command
This commit is contained in:
parent
0e377e1746
commit
2ff2329118
3 changed files with 61 additions and 4 deletions
8
dev
8
dev
|
@ -95,6 +95,14 @@ cmd_start() {
|
|||
docker-compose up
|
||||
}
|
||||
|
||||
cmd_build_production() {
|
||||
docker-compose -f docker-compose.production.yaml build
|
||||
}
|
||||
|
||||
cmd_start_production() {
|
||||
docker-compose -f docker-compose.production.yaml up --remove-orphans
|
||||
}
|
||||
|
||||
# Run the command
|
||||
cmd="$1"
|
||||
"cmd_$cmd" "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue