Skip to content

Commit

Permalink
yii-starter-kit#654. Found a working solution to run 2 commands with …
Browse files Browse the repository at this point in the history
…command in docker-compose.
  • Loading branch information
alfredleo committed Feb 27, 2019
1 parent 36f4e50 commit 4542ac1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pwd-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ services:
image: alfredleo/starter_kit_app:secondtry
volumes:
- starter_kit_app:/app
entrypoint: /app/install.sh
command: php-fpm
command: bash -c "/app/install.sh && php-fpm"
depends_on:
- source
- db
Expand Down

0 comments on commit 4542ac1

Please sign in to comment.