1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-24 17:04:43 +00:00

Made dev dockerfile more efficient

This commit is contained in:
2015-10-05 08:41:31 -04:00
parent 40bff9250d
commit 3eb5fcd162

View File

@@ -1,20 +1,19 @@
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 build-essential
RUN apt-get install -y nodejs sqlite3
RUN gem install --no-rdoc --no-ri bundler
ADD Gemfile* /tmp/
WORKDIR /tmp
RUN bundle install --without production
RUN mkdir /rails
WORKDIR /rails
VOLUME ["/rails"]
ADD Gemfile* /rails/
RUN bundle install --without production
ADD . /rails/
EXPOSE 3000
CMD /bin/bash