Skip to content

Commit

Permalink
Update laravel-sail.plugin.zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
ariaieboy authored Feb 11, 2023
1 parent 5333190 commit 767138d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions laravel-sail.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ function s() {
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
laravelsail/php${2:=81}-composer:latest \
laravelsail/php${2:=82}-composer:latest \
composer install --ignore-platform-reqs
elif [[ $1 == "ninit" ]]; then
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
node:${2:=17} \
node:${2:=18} \
npm install
else
if [ "$sail_path" = "" ]; then
Expand Down

0 comments on commit 767138d

Please sign in to comment.