<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>totem_3</author_name>
  <author_url>https://blog.hatena.ne.jp/totem_3/</author_url>
  <blog_title>エンジニアですよ！</blog_title>
  <blog_url>https://totem3.hatenablog.jp/</blog_url>
  <categories>
    <anon>docker</anon>
    <anon>ruby</anon>
  </categories>
  <description>Docker で Gemfile に変更があったときだけ bundle install を実行するために、 Gemfile と Gemfile.lock を先に ADD しておいて bundle install を先に実行しておくのはもはや常識だと思う。 ちょいちょい例にこういうのがある。（ここでは Dockerfile とアプリケーションが同じリポジトリ（ディレクトリ）にあるとして、そのディレクトリで docker build してるとする） WORKDIR /tmp ADD Gemfile Gemfile ADD Gemfile.lock Gemfile.lock .... ADD . /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftotem3.hatenablog.jp%2Fentry%2F2017%2F08%2F13%2F133954&quot; title=&quot; docker で Run `bundle install` to install missing gems になっちゃう件 - エンジニアですよ！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-13 13:39:54</published>
  <title> docker で Run `bundle install` to install missing gems になっちゃう件</title>
  <type>rich</type>
  <url>https://totem3.hatenablog.jp/entry/2017/08/13/133954</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
