16 lines
229 B
Bash
Executable File
16 lines
229 B
Bash
Executable File
#! /bin/sh
|
|
|
|
#check for user args
|
|
if [ -z "$1" ]; then
|
|
echo no args
|
|
elif [ "$1" = "-b" ]; then
|
|
build="--build"
|
|
echo building
|
|
elif [ "$1" = "-d" ]; then
|
|
up="-d"
|
|
echo daemon
|
|
fi
|
|
|
|
docker compose down
|
|
docker compose up $up $build
|