FROM epsp****/epsp****-ruby-base:8 **** ##サービス名関連の為、伏せてあります。
ARG RAILS_MASTER_KEY
ENV RAILS_MASTER_KEY=$RAILS_MASTER_KEY
ARG RAILS_ENV=development
ENV RAILS_ENV=$RAILS_ENV
RUN mkdir -p /app/tmp/pids
WORKDIR /app
ADD Gemfile Gemfile.lock /app/
RUN bundle install --without test --deployment
COPY . /app
RUN ./bin/yarn
RUN ./bin/rails assets:precompile