Created
October 9, 2015 20:52
-
-
Save rossta/6c8b2561cf8375b43cff to your computer and use it in GitHub Desktop.
Basic Rails Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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