diff --git a/Dockerfile b/Dockerfile index 23f4071..1cbe6df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,6 @@ FROM ruby:2.5 MAINTAINER Jonathan Rosenbaum -##RUN git clone https://github.com/fspc/BikeBikeBike.git /app/BikeBike COPY . /app/BikeBike RUN apt-get update && apt-get install -y nodejs postgresql-client @@ -14,24 +13,9 @@ RUN apt-get update && apt-get install -y nodejs postgresql-client # Note: phantomjs has been deprecated in favor of headless chrome WORKDIR /app/BikeBike -# COPY changes/Gemfile . -# Use DATABASE_URL env variable instead, although it takes precedence, regardless -# COPY database.yml ./config/database.yml RUN bundle install -RUN mkdir -p public/stylesheets/application -p public/stylesheets/web-fonts && tar xvfz bumbleberry-css.tar.gz -C public/stylesheets/application && tar xvfz bumbleberry-css.tar.gz -C public/stylesheets/web-fonts - -#RUN gem install json -v '1.8.6' -#RUN gem install activesupport -v '4.2.0' -#RUN gem install mini_portile2 -v '2.6.1' -#RUN gem install racc -v '1.6.0' -#RUN gem install actionview -v '4.2.0' - -# Gem::LoadError: You have already activated rake 12.3.3, but your Gemfile requires rake 11.1.2. Prepending `bundle exec` to your command may solve this. -# Do this with docker-compose -# RUN rake db:create -# RUN rake db:migrate - +RUN mkdir -p public/stylesheets/application -p public/stylesheets/web-fonts && tar xvfz bumbleberry-application.tar.gz -C public/stylesheets/application && tar xvfz bumbleberry-web-fonts.tar.gz -C public/stylesheets/web-fonts && tar xvfz bumbleberry-admin.tar.gz -C public/stylesheets/admin # Add a script to be executed every time the container starts. COPY entrypoint.sh /usr/bin/ diff --git a/bumbleberry-admin.tar.gz b/bumbleberry-admin.tar.gz new file mode 100644 index 0000000..dc16a4f Binary files /dev/null and b/bumbleberry-admin.tar.gz differ diff --git a/bumbleberry-application.tar.gz b/bumbleberry-application.tar.gz new file mode 100644 index 0000000..2e3dbd9 Binary files /dev/null and b/bumbleberry-application.tar.gz differ diff --git a/bumbleberry-css.tar.gz b/bumbleberry-css.tar.gz deleted file mode 100644 index d20073f..0000000 Binary files a/bumbleberry-css.tar.gz and /dev/null differ diff --git a/bumbleberry-web-fonts.tar.gz b/bumbleberry-web-fonts.tar.gz new file mode 100644 index 0000000..2893279 Binary files /dev/null and b/bumbleberry-web-fonts.tar.gz differ