Keine Beschreibung http://j1x-huginn.herokuapp.com

Dockerfile 644B

12345678910111213141516171819202122232425
  1. FROM ubuntu:14.04
  2. MAINTAINER Dominik Sander
  3. ADD docker/scripts/prepare /scripts/prepare
  4. RUN /scripts/prepare
  5. WORKDIR /app
  6. ADD ["Gemfile", "Gemfile.lock", "/app/"]
  7. ADD lib/gemfile_helper.rb /app/lib/
  8. ADD vendor/gems /app/vendor/gems
  9. RUN chown -R huginn:huginn /app && \
  10. sudo -u huginn -H echo "gem 'sqlite3', '~> 1.3.11'" >> /app/Gemfile && \
  11. sudo -u huginn -H LC_ALL=en_US.UTF-8 RAILS_ENV=production ON_HEROKU=true bundle install --without test development --path vendor/bundle -j 4
  12. COPY . /app
  13. ADD ["docker/scripts/setup", "docker/single-process/scripts/init", "/scripts/"]
  14. RUN /scripts/setup
  15. EXPOSE 3000
  16. CMD ["/scripts/init"]