Skip to content

Instantly share code, notes, and snippets.

FROM my/base
VOLUME ["/app/vendor/cache"]
ADD ./docker /app/docker
RUN if [ -f /app/docker/setup.sh ]; then /app/docker/setup.sh; fi
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
RUN bundle install