{"provider_name":"Hatena Blog","version":"1.0","image_url":"https://m.media-amazon.com/images/I/51c7cFefUcL._SL160_.jpg","url":"https://chaika.hatenablog.com/entry/2020/06/23/083000","published":"2020-06-23 08:30:00","blog_url":"https://chaika.hatenablog.com/","provider_url":"https://hatena.blog","categories":["Docker","PHP","Composer"],"title":"Docker PHP composer \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002","author_name":"kikiki-kiki","height":"190","blog_title":"\u304b\u3082\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/kikiki-kiki/","width":"100%","description":"\u65cb\u56de\u307e\u3067\u306e\u3042\u3089\u3059\u3058 Docker \u3067\u4f5c\u3063\u305f PHP \u74b0\u5883\u3067 composer \u3092\u4f7f\u304a\u3046\u3068\u3057\u305f\u3089\u5165\u3063\u3066\u306a\u304b\u3063\u305f\u306e\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u30e1\u30e2 docker-compose.yml version: '3' services: api: build: context: ./php dockerfile: Dockerfile volumes: - ./api:/var/www depends_on: - db Dockerfile \u306b compose \u306e\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u3063\u3066\u304f\u308b\u6307\u5b9a\u3092\u8ffd\u52a0\u3059\u308b (optimal) create your own build image and install Composer\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2020%2F06%2F23%2F083000\" title=\"Docker PHP composer \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002 - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich"}