docker-composeで複数コマンドを実行する方法
# docker-compose.yml web: build: . command: bash -c "bundle install && bundle exec puma" ports: - "8000:8000"
&&で繋ぐと前のコマンドが終了後に実行出来る。
# docker-compose.yml web: build: . command: bash -c "bundle install && bundle exec puma" ports: - "8000:8000"
&&で繋ぐと前のコマンドが終了後に実行出来る。