FROM ruby:2.5.1 RUN apt-get update -qq && apt-get install -y locales RUN sed -i 's/#.*ja_JP\.UTF/ja_JP\.UTF/' /etc/locale.gen RUN locale-gen && update-locale LANG=ja_JP.UTF-8 RUN mkdir /my_app WORKDIR /my_app COPY . /my_app RUN bundle install