Skip to content

Instantly share code, notes, and snippets.

@yuki-yano
Created August 14, 2016 23:25
Show Gist options
  • Select an option

  • Save yuki-yano/c40dd3af82ba79f1023ee35eb76cc987 to your computer and use it in GitHub Desktop.

Select an option

Save yuki-yano/c40dd3af82ba79f1023ee35eb76cc987 to your computer and use it in GitHub Desktop.
# Dockerfile.rails_development
FROM ruby:2.3.1
RUN ln -snf /bin/bash /bin/sh
RUN apt-get update && \
apt-get install -y mysql-client nodejs --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
ARG APP_HOME
RUN mkdir -p $APP_HOME
WORKDIR $APP_HOME
ADD Gemfile $APP_HOME/
ADD Gemfile.lock $APP_HOME/
RUN gem install bundler
RUN bundle i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment