mirror of https://github.com/fspc/bikebinder.git
Jonathan Rosenbaum
10 years ago
commit
39c72be2a7
2 changed files with 24 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||
|
############## |
||||
|
# BikeBinder # |
||||
|
############## |
||||
|
# Password is password for staff@freeridepgh.org & volunteer@freeridepgh.org |
||||
|
|
||||
|
FROM bikebike/bikebike |
||||
|
MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com> |
||||
|
|
||||
|
RUN git clone https://github.com/FreeRidePGH/BikeBinder.git |
||||
|
RUN gem install bundler |
||||
|
RUN apt-get update && apt-get -y install g++ libfcgi-dev libsqlite3-dev |
||||
|
RUN bundle install --gemfile=/BikeBinder/Gemfile |
||||
|
RUN cd /BikeBinder; bundle exec rake setup; bundle exec rake populate |
||||
|
|
||||
|
# setup to use sqlite3 |
||||
|
COPY bikebinder.conf /etc/supervisor/conf.d/ |
||||
|
#COPY /BikeBinder/config/application/mailer_config.rb /BikeBinder/config/database.yml |
||||
|
|
||||
|
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"] |
||||
|
|
@ -0,0 +1,4 @@ |
|||||
|
[program:bikebinder] |
||||
|
directory=/BikeBinder |
||||
|
command=rails server |
||||
|
autorestart=false |
Loading…
Reference in new issue