1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Updated docker stuff

This commit is contained in:
Jacob Q Wimer
2015-09-29 11:06:30 -04:00
parent b35d202a61
commit 6756b86c18
5 changed files with 35 additions and 32 deletions

20
rails-dev-Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
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