Update static commands on utility script.

This commit is contained in:
Buster "Silver Eagle" Neece 2020-01-12 13:02:43 -06:00
parent b2afe0a973
commit 485c4ec4b3
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 4 additions and 3 deletions

View File

@ -50,7 +50,7 @@ install() {
echo "then continue installing using this script."
exit 1
fi
if [[ $(which docker) && $(docker --version) ]]; then
echo "Docker is already installed! Continuing..."
else
@ -294,8 +294,9 @@ restore-legacy() {
# Usage: ./docker.sh static [static_container_command]
#
static() {
docker-compose -f docker-compose.static.yml build
docker-compose -f docker-compose.static.yml run --rm static $*
cd frontend
docker-compose build
docker-compose run --rm frontend $*
exit
}