Change "docker-compose" to "docker compose"

This commit is contained in:
Riccardo Graziosi
2022-05-10 20:23:25 +02:00
parent d0ea99c8f2
commit ce7be1b30c
2 changed files with 4 additions and 4 deletions

View File

@@ -5,4 +5,4 @@ set -e
echo "Starting Astuto..." echo "Starting Astuto..."
docker-compose up "$@" docker compose up "$@"

View File

@@ -8,8 +8,8 @@ echo "-> Docker image will be rebuilt if necessary"
echo "-> Database schema will be updated if necessary" echo "-> Database schema will be updated if necessary"
echo "-> Webpack will compile assets" echo "-> Webpack will compile assets"
docker-compose build docker compose build
docker-compose run --rm web yarn install # needed to avoid yarn integrity check fail docker compose run --rm web yarn install # needed to avoid yarn integrity check fail
docker-compose run --rm -e UPDATE=1 web docker compose run --rm -e UPDATE=1 web
echo "Update completed." echo "Update completed."