Skip to content

Commit

Permalink
#405 - docker-compose to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofrewak committed Mar 27, 2024
1 parent 421988d commit 72fb588
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ if [ ! -f ".env" ]; then
cp .env.example .env
fi

docker-compose build --no-cache --pull
docker-compose up -d
docker-compose run --rm -u "$(id -u):$(id -g)" php composer install
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan key:generate
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan storage:link
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan migrate --seed
docker-compose run --rm -u "$(id -u):$(id -g)" node npm install
docker-compose run --rm -u "$(id -u):$(id -g)" node npm run dev
docker compose build --no-cache --pull
docker compose up -d
docker compose run --rm -u "$(id -u):$(id -g)" php composer install
docker compose run --rm -u "$(id -u):$(id -g)" php php artisan key:generate
docker compose run --rm -u "$(id -u):$(id -g)" php php artisan storage:link
docker compose run --rm -u "$(id -u):$(id -g)" php php artisan migrate --seed
docker compose run --rm -u "$(id -u):$(id -g)" node npm install
docker compose run --rm -u "$(id -u):$(id -g)" node npm run dev

0 comments on commit 72fb588

Please sign in to comment.