ブログ

読んで思い出す。忘れるために書く

2021-03-15から1日間の記事一覧

Q. docker-compose 環境で guard コンテナを実行したい

A. つぎの設定を追記する docker-compose.yml : # ... services: # ... guard: build: context: . env_file: - .env command: bundle exec guard depends_on: - mysql volumes: - .:/app tty: true stdin_open: true # ... Dockerfile (Alpine Linux) : RUN …