1
0
mirror of https://github.com/fspc/freehub.git synced 2025-04-04 10:03:23 -04:00

Specify bundler version compatible with ruby 1.9.3

This commit is contained in:
Alon Salant 2019-12-02 14:34:46 -08:00
parent 694ae64e41
commit 72d95fe5ef

View File

@ -7,7 +7,7 @@ FROM bikebike/bikebike
MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com> MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com>
RUN git clone git://github.com/asalant/freehub.git RUN git clone git://github.com/asalant/freehub.git
RUN gem install bundler RUN gem install bundler -v 1.15.4
#RUN apt-get -y install ruby-dev #RUN apt-get -y install ruby-dev
RUN bundle install --gemfile=/freehub/Gemfile RUN bundle install --gemfile=/freehub/Gemfile
RUN service mysql start; cd /freehub; rake db:create:all; rake db:migrate; rake db:fixtures:load RUN service mysql start; cd /freehub; rake db:create:all; rake db:migrate; rake db:fixtures:load
@ -17,4 +17,4 @@ COPY freehub.conf /etc/supervisor/conf.d/
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"] CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
# docker run -d -p 3000:3000 --name="freehub" bikebike/freehub # docker run -d -p 3000:3000 --name="freehub" bikebike/freehub