1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/rails-dev-Dockerfile
2015-09-29 11:06:30 -04:00

21 lines
374 B
Plaintext

FROM ruby:2.2.3
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential
RUN apt-get install -y nodejs sqlite3
RUN gem install --no-rdoc --no-ri bundler
RUN mkdir /rails
WORKDIR /rails
VOLUME ["/rails"]
ADD Gemfile* /rails/
RUN bundle install --without production
ADD . /rails/
EXPOSE 3000
CMD /bin/bash