Skip to content

Instantly share code, notes, and snippets.

@rossta
Created October 9, 2015 20:52
Show Gist options
  • Save rossta/6c8b2561cf8375b43cff to your computer and use it in GitHub Desktop.
Save rossta/6c8b2561cf8375b43cff to your computer and use it in GitHub Desktop.
Basic Rails Dockerfile
FROM ruby:2.2.3
RUN apt-get update -qq
RUN apt-get install -y build-essential libpq-dev nodejs npm nodejs-legacy vim
ENV app /app
RUN mkdir $app
WORKDIR $app
ENV BUNDLE_PATH /box
ADD . $app
CMD rails s -b 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment